public interface DataHandlerProvider
Modifier and Type | Method and Description |
---|---|
javax.activation.DataHandler |
getDataHandler()
Get the
DataHandler object for the binary content. |
boolean |
isLoaded()
Check whether the
DataHandler has already been loaded. |
boolean isLoaded()
DataHandler
has already been loaded. A return value of
true
means that a call to 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
getDataHandler()
on the same instance. E.g. a call to 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).true
if the DataHandler
has already been loaded;
false
otherwisejavax.activation.DataHandler getDataHandler() throws IOException
DataHandler
object for the binary content.IOException
- if an error occurs while loading the DataHandler
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.