jaugment2.helpers
Interface MimeDataHandlerEntry
- All Known Implementing Classes:
- AddToPlaylist_MimeDataHandlerEntry, index_MimeDataHandlerEntry, OpenIn_MimeDataHandlerEntry, ReplacePlaylist_MimeDataHandlerEntry
- public interface MimeDataHandlerEntry
- extends net.jini.core.entry.Entry
Entry denoting that a service is capable of doing an
abstract action on data of a given mime-type.
|
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. |
getActionDisplayName
public java.lang.String getActionDisplayName(java.util.Locale loc)
- Give a name to display for the action
handlesMimeType
public boolean handlesMimeType(javax.activation.MimeType type)
- says that this action works on the mime-type given
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.
- Parameters:
proxy - The proxy this Entry was assigned to