org.apache.axis.attachments
Class MultiPartInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byorg.apache.axis.attachments.MultiPartInputStream
Direct Known Subclasses:
MultiPartDimeInputStream, MultiPartRelatedInputStream

public abstract class MultiPartInputStream
extends java.io.FilterInputStream

This simulates the multipart stream.


Method Summary
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.lang.Object
equals, 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.


Copyright © 2003 Apache Web Services Project. A ll Rights Reserved.