static class TestCreateOMTextFromDataHandlerProvider.TestDataHandlerProvider extends java.lang.Object implements DataHandlerProvider
| Modifier and Type | Field and Description |
|---|---|
private javax.activation.DataHandler |
dh |
| Constructor and Description |
|---|
TestDataHandlerProvider() |
| Modifier and Type | Method and Description |
|---|---|
javax.activation.DataHandler |
getDataHandler()
Get the
DataHandler object for the binary content. |
boolean |
isDataHandlerCreated() |
boolean |
isLoaded()
Check whether the
DataHandler has already been loaded. |
public boolean isLoaded()
DataHandlerProviderDataHandler has already been loaded. A return value of
true means that a call to DataHandlerProvider.getDataHandler() will not block or will
retrieve the DataHandler without overhead. Note the return value of this method for a
given instance of this class may change over time due to events other than a call to
DataHandlerProvider.getDataHandler() on the same instance. E.g. a call to DataHandlerProvider.getDataHandler() on
one instance may change the return value of the method on another instance (because the
DataHandler objects can only be loaded in a certain sequence).isLoaded in interface DataHandlerProvidertrue if the DataHandler has already been loaded;
false otherwisepublic javax.activation.DataHandler getDataHandler()
DataHandlerProviderDataHandler object for the binary content.getDataHandler in interface DataHandlerProviderpublic boolean isDataHandlerCreated()