org.apache.axis.attachments

Class MultiPartInputStream

Known Direct Subclasses:
MultiPartDimeInputStream, MultiPartRelatedInputStream

public abstract class MultiPartInputStream
extends java.io.FilterInputStream

This simulates the multipart stream.

Author:
Rick Rineholt

Method Summary

Part
getAttachmentByReference(String[] id)
java.util.Collection
getAttachments()
String
getContentId()
Return the content id of the stream.
String
getContentLocation()
Return the content location.

Method Details

getAttachmentByReference

public Part getAttachmentByReference(String[] id)
            throws AxisFault


getAttachments

public java.util.Collection getAttachments()
            throws AxisFault


getContentId

public String getContentId()
Return the content id of the stream.

Returns:
the Content-Location of the stream. Null if no content-location specified.


getContentLocation

public String getContentLocation()
Return the content location.

Returns:
the Content-Location of the stream. Null if no content-location specified.


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.