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

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

Method Details

getAttachmentByReference

public abstract Part getAttachmentByReference(String[] id)
            throws AxisFault

getAttachments

public abstract java.util.Collection getAttachments()
            throws AxisFault

getContentId

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

getContentLocation

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

Copyright © 2005 Apache Web Services Project. All Rights Reserved.