Class DynamicContentDataHandler

  • All Implemented Interfaces:
    java.awt.datatransfer.Transferable

    public class DynamicContentDataHandler
    extends javax.activation.DataHandler
    To be used with writing out DIME Attachments. AXIS will use DIME record chunking.
    Author:
    Marc Dumontier (mrdumont@blueprint.org)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getChunkSize()
      Get the DIME record chunk size
      void setChunkSize​(int chunkSize)
      Set the DIME record chunk size
      • Methods inherited from class javax.activation.DataHandler

        getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamicContentDataHandler

        public DynamicContentDataHandler​(javax.activation.DataSource arg0)
        Parameters:
        arg0 -
      • DynamicContentDataHandler

        public DynamicContentDataHandler​(java.lang.Object arg0,
                                         java.lang.String arg1)
        Parameters:
        arg0 -
        arg1 -
      • DynamicContentDataHandler

        public DynamicContentDataHandler​(java.net.URL arg0)
        Parameters:
        arg0 -
    • Method Detail

      • 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.