PREV CLASS
NEXT CLASS
com.ibm.portal.resolver.data
Interface ByteDataSource
- All Superinterfaces:
- Addressable, DataSource, DataSourceFragment, Disposable, TimeStamped
-
public interface ByteDataSource
- extends DataSource
Implemented by providers of byte data streams. The stream provider
must be able to copy the content of the byte stream onto the output stream
that is passed as a parameter.
- Since:
- 6.1.0
- Note:
This interface is designed to be implemented by clients. |
Field Summary
|
static java.lang.String |
CONTENT_TYPE_BINARY
Mime type for simple, binary messages
http://www.rfc-editor.org/rfc/rfc2046.txt |
Method Summary
|
java.io.OutputStream |
write(java.io.OutputStream out)
Copies the complete data onto the target stream. |
CONTENT_TYPE_BINARY
static final java.lang.String CONTENT_TYPE_BINARY
- Mime type for simple, binary messages
http://www.rfc-editor.org/rfc/rfc2046.txt
- Since:
- 6.1.0.3
- See Also:
- Constant Field Values
write
java.io.OutputStream write(java.io.OutputStream out)
throws java.io.IOException
- Copies the complete data onto the target stream. The target stream
should NOT be closed.
- Parameters:
- out - target stream to receive the data.
- Returns:
- reference to the target stream to allow method chaining
- Throws:
- java.io.IOException - - if the copy operation failed
PREV CLASS
NEXT CLASS