org.codehaus.xfire.attachments
Class ByteDataSource
java.lang.Object
org.codehaus.xfire.attachments.ByteDataSource
public class ByteDataSource
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteDataSource
public ByteDataSource(byte[] data)
ByteDataSource
public ByteDataSource(byte[] data,
int offset,
int length)
getData
public byte[] getData()
setData
public void setData(byte[] data)
setContentType
public void setContentType(java.lang.String contentType)
setName
public void setName(java.lang.String name)
getContentType
public java.lang.String getContentType()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getName
public java.lang.String getName()
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.