| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | Returns: the objectthe ActivationDataFlavor aFlavor, DataSource DataSource containing the data ds)Given the flavor that matched, return the appropriate type of object. |
| protected abstract ActivationDataFlavor[] | Returns: array of ActivationDataFlavors that we supportReturn an array of ActivationDataFlavors that we support. |
| public Object | Returns: the objectThe DataFlavor df, DataSource The DataSource corresponding to the data ds)Implements javax. |
| public DataFlavor[] | Returns: The DataFlavorsImplements javax. DataContentHandler.
|
| handler_base | back to summary |
|---|---|
| public handler_base() | |
| getData | back to summary |
|---|---|
| protected Object getData(ActivationDataFlavor aFlavor, DataSource ds) throws IOException Given the flavor that matched, return the appropriate type of object. Usually there's only one flavor so just call getContent.
| |
| getDataFlavors | back to summary |
|---|---|
| protected abstract ActivationDataFlavor[] getDataFlavors() Return an array of ActivationDataFlavors that we support. Usually there will be only one.
| |
| getTransferData | back to summary |
|---|---|
| public Object getTransferData(DataFlavor df, DataSource ds) throws IOException Implements javax. Return the Transfer Data of type DataFlavor from InputStream.
| |
| getTransferDataFlavors | back to summary |
|---|---|
| public DataFlavor[] getTransferDataFlavors() Implements javax. Return the DataFlavors for this
| |