站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

OctetStreamDataSource (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.attachments
Class OctetStreamDataSource

java.lang.Object
  extended byorg.apache.axis.attachments.OctetStreamDataSource
All Implemented Interfaces:
javax.activation.DataSource

public class OctetStreamDataSource
extends Object
implements javax.activation.DataSource


Field Summary
static String CONTENT_TYPE
           
 
Constructor Summary
OctetStreamDataSource(String name, OctetStream data)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final String CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

OctetStreamDataSource

public OctetStreamDataSource(String name,
                             OctetStream data)
Method Detail

getName

public String getName()
Specified by:
getName in interface javax.activation.DataSource

getContentType

public String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface javax.activation.DataSource
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface javax.activation.DataSource
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.