Class MultiPartInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    MultiPartDimeInputStream, MultiPartRelatedInputStream

    public abstract class MultiPartInputStream
    extends java.io.FilterInputStream
    This simulates the multipart stream.
    Author:
    Rick Rineholt
    • Field Summary

      • Fields inherited from class java.io.FilterInputStream

        in
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract Part getAttachmentByReference​(java.lang.String[] id)  
      abstract java.util.Collection getAttachments()  
      abstract java.lang.String getContentId()
      Return the content id of the stream.
      abstract java.lang.String getContentLocation()
      Return the content location.
      • Methods inherited from class java.io.FilterInputStream

        available, close, mark, markSupported, read, read, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • getAttachmentByReference

        public abstract Part getAttachmentByReference​(java.lang.String[] id)
                                               throws AxisFault
        Throws:
        AxisFault
      • getAttachments

        public abstract java.util.Collection getAttachments()
                                                     throws AxisFault
        Throws:
        AxisFault
      • getContentLocation

        public abstract java.lang.String getContentLocation()
        Return the content location.
        Returns:
        the Content-Location of the stream. Null if no content-location specified.
      • getContentId

        public abstract java.lang.String getContentId()
        Return the content id of the stream.
        Returns:
        the Content-Location of the stream. Null if no content-location specified.