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

SourceDataSource (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.attachments
Class SourceDataSource

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

public class SourceDataSource
extends Object
implements javax.activation.DataSource


Field Summary
static String CONTENT_TYPE
           
 
Constructor Summary
SourceDataSource(String name, StreamSource data)
           
SourceDataSource(String name, String contentType, StreamSource 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

SourceDataSource

public SourceDataSource(String name,
                        StreamSource data)

SourceDataSource

public SourceDataSource(String name,
                        String contentType,
                        StreamSource 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.