jaugment2.mediaplayer
Class ReplacePlaylist_MimeDataHandlerEntry

java.lang.Object
  |
  +--jaugment2.mediaplayer.ReplacePlaylist_MimeDataHandlerEntry
Direct Known Subclasses:
Play_MimeDataHandlerEntry

public class ReplacePlaylist_MimeDataHandlerEntry
extends java.lang.Object
implements MimeDataHandlerEntry

MimeDataHandlerEntry for replacing the current palylist with the URLs of an m3u-playlist

See Also:
Serialized Form

Constructor Summary
ReplacePlaylist_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.
protected  boolean performAction2(java.lang.Object proxy, java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ReplacePlaylist_MimeDataHandlerEntry

public ReplacePlaylist_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

performAction2

protected boolean performAction2(java.lang.Object proxy,
                                 java.io.InputStream in)
                          throws java.io.IOException