org.sourcejammer.util
Class SendBytesDataSource
java.lang.Object
  |
  +--org.sourcejammer.util.SendBytesDataSource
- All Implemented Interfaces: 
- javax.activation.DataSource
- public class SendBytesDataSource- extends java.lang.Object- implements javax.activation.DataSource
Title:        $FileName: SendBytesDataSource.java$
- Version:
- $VerNum: 3$
 $KeyWordsOff: $
 
 DataSource for SendBytes object. Should turn into a SOAP attachment.
- Author:
- $AuthorName: Rob MacGrogan$
| Field Summary | 
| private  byte[] | by
 | 
| private static java.lang.String | CONTENT_TYPE
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CONTENT_TYPE
private static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
by
private byte[] by
SendBytesDataSource
public SendBytesDataSource()
setBytes
public void setBytes(byte[] by)
- 
 
- 
 
getBytes
public byte[] getBytes()
- 
 
- 
 
getContentType
public java.lang.String getContentType()
- 
- Specified by:
- getContentTypein interface- javax.activation.DataSource
 
- 
- See Also:
- DataSource.getContentType()
 
getInputStream
public java.io.InputStream getInputStream()
                                   throws java.io.IOException
- 
- Specified by:
- getInputStreamin interface- javax.activation.DataSource
 
- 
- java.io.IOException
- See Also:
- DataSource.getInputStream()
 
getName
public java.lang.String getName()
- 
- Specified by:
- getNamein interface- javax.activation.DataSource
 
- 
- See Also:
- DataSource.getName()
 
getOutputStream
public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
- 
- Specified by:
- getOutputStreamin interface- javax.activation.DataSource
 
- 
- java.io.IOException
- See Also:
- DataSource.getOutputStream()
 
Copyright © 2003 Soucejammer project.