Package org.apache.axis.attachments
Class DynamicContentDataHandler
java.lang.Object
javax.activation.DataHandler
org.apache.axis.attachments.DynamicContentDataHandler
- All Implemented Interfaces:
Transferable
To be used with writing out DIME Attachments.
AXIS will use DIME record chunking.
- Author:
- Marc Dumontier (mrdumont@blueprint.org)
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicContentDataHandler
(Object arg0, String arg1) DynamicContentDataHandler
(URL arg0) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the DIME record chunk sizevoid
setChunkSize
(int chunkSize) Set the DIME record chunk sizeMethods inherited from class javax.activation.DataHandler
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTo
-
Constructor Details
-
DynamicContentDataHandler
- Parameters:
arg0
-
-
DynamicContentDataHandler
- Parameters:
arg0
-arg1
-
-
DynamicContentDataHandler
- Parameters:
arg0
-
-
-
Method Details
-
getChunkSize
public int getChunkSize()Get the DIME record chunk size- Returns:
- The value
-
setChunkSize
public void setChunkSize(int chunkSize) Set the DIME record chunk size- Parameters:
chunkSize
- The value.
-