public class WrappedDataHandler
extends org.apache.axiom.util.activation.DataHandlerWrapper
Constructor and Description |
---|
WrappedDataHandler(DataHandler _delegate,
String _contentType)
Constructs a new instance of the WrappedDataHandler.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
getAllCommands, getBean, getCommand, getContent, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, writeTo
setDataContentHandlerFactory
public WrappedDataHandler(DataHandler _delegate, String _contentType)
_delegate
- the real DataHandler instance being wrapped_contentType
- the user-defined contentType associated with the DataHandler instancepublic String getContentType()
getContentType
in class org.apache.axiom.util.activation.DataHandlerWrapper
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.