at.gv.egovernment.moa.spss.server.iaik.xml
Class ByteStreamDataObjectImpl
java.lang.Object
|
+--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
|
+--at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl
- All Implemented Interfaces:
- iaik.server.modules.xml.BinaryDataObject, iaik.server.modules.xml.DataObject
- public class ByteStreamDataObjectImpl
- extends DataObjectImpl
- implements iaik.server.modules.xml.BinaryDataObject
A BinaryDataObject
encapsulating binary data from a stream.
- Version:
- $Id$
- Author:
- Patrick Peck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface iaik.server.modules.xml.DataObject |
getMimeType, getReferenceID, getTypeURI, getURI |
ByteStreamDataObjectImpl
public ByteStreamDataObjectImpl(InputStream inputStream)
- Create a new
ByteStreamDataObjectImpl
.
- Parameters:
inputStream
- The stream from which to read the binary data.
setInputStream
public void setInputStream(InputStream inputStream)
- Set the input stream from which to read the binary data.
- Parameters:
inputStream
- The input stream from which to read the binary data.
getInputStream
public InputStream getInputStream()
- Return the binary data from this object as a stream.
- Specified by:
getInputStream
in interface iaik.server.modules.xml.BinaryDataObject
- Returns:
- The stream containing the binary data. Calling this function
repeatedly will always return the same
InputStream
. - See Also:
BinaryDataObject.getInputStream()