getCommand
public CommandInfo getCommand(String cmdName)
getContent
public Object getContent()
throws IOException
getContentType
public String getContentType()
getInputStream
public InputStream getInputStream()
throws IOException
getName
public String getName()
getOutputStream
public OutputStream getOutputStream()
throws IOException
getPreferredCommands
public CommandInfo[] getPreferredCommands()
getTransferData
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
setCommandMap
public void setCommandMap(CommandMap commandMap)
setDataContentHandlerFactory
public static void setDataContentHandlerFactory(DataContentHandlerFactory newFactory)
Set the DataContentHandlerFactory to use.
If this method has already been called then an Error is raised.
newFactory
- the new factory
writeTo
public void writeTo(OutputStream os)
throws IOException