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

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


org.apache.axis.attachments
Class ImageDataSource

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

public class ImageDataSource
extends Object
implements javax.activation.DataSource


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

ImageDataSource

public ImageDataSource(String name,
                       Image data)

ImageDataSource

public ImageDataSource(String name,
                       String contentType,
                       Image 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.