org.apache.axis.attachments

Class OctetStreamDataSource

Implemented Interfaces:
DataSource

public class OctetStreamDataSource
extends java.lang.Object
implements DataSource

Field Summary

static String
CONTENT_TYPE

Constructor Summary

OctetStreamDataSource(String name, OctetStream data)

Method Summary

String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()

Field Details

CONTENT_TYPE

public static final String CONTENT_TYPE

Constructor Details

OctetStreamDataSource

public OctetStreamDataSource(String name,
                             OctetStream data)

Method Details

getContentType

public String getContentType()


getInputStream

public InputStream getInputStream()
            throws IOException


getName

public String getName()


getOutputStream

public OutputStream getOutputStream()
            throws IOException


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