jaugment2.mediaplayer
Class index_MimeDataHandlerEntry

java.lang.Object
  |
  +--jaugment2.mediaplayer.index_MimeDataHandlerEntry

public class index_MimeDataHandlerEntry
extends java.lang.Object
implements MimeDataHandlerEntry

MimeDataHandlerEntry for adding the URLs of m3u-playlists/mp3s to the media-db

See Also:
Serialized Form

Field Summary
private static boolean debug
           
 
Constructor Summary
index_MimeDataHandlerEntry()
           
 
Method Summary
 java.lang.String getActionDisplayName(java.util.Locale loc)
          Give a name to display for the action
 boolean handlesMimeType(javax.activation.MimeType type)
          says that this action works on the mime-type given
 void performAction(java.lang.Object proxy, javax.activation.DataSource in)
          Perform the action on the data-stream given as in setInputDataStream.
 void performAction(java.lang.Object proxy, java.io.InputStream in)
          Perform the action on the data-stream given as in setInputDataStream.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

debug

private static final boolean debug
Constructor Detail

index_MimeDataHandlerEntry

public index_MimeDataHandlerEntry()
Method Detail

getActionDisplayName

public java.lang.String getActionDisplayName(java.util.Locale loc)
Give a name to display for the action
Specified by:
getActionDisplayName in interface MimeDataHandlerEntry

handlesMimeType

public boolean handlesMimeType(javax.activation.MimeType type)
says that this action works on the mime-type given
Specified by:
handlesMimeType in interface MimeDataHandlerEntry

performAction

public void performAction(java.lang.Object proxy,
                          javax.activation.DataSource in)
                   throws java.io.IOException
Perform the action on the data-stream given as in setInputDataStream.
Specified by:
performAction in interface MimeDataHandlerEntry
Parameters:
proxy - The proxy this Entry was assigned to

performAction

public void performAction(java.lang.Object proxy,
                          java.io.InputStream in)
                   throws java.io.IOException
Perform the action on the data-stream given as in setInputDataStream.
Parameters:
proxy - The proxy this Entry was assigned to