Package org.apache.axis.attachments
Class MultiPartInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.apache.axis.attachments.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
-
-
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
-
-
-
-
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.
-
-