at.gv.egovernment.moa.spss.server.iaik.xml
Class ByteArrayDataObjectImpl
java.lang.Object
|
+--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
|
+--at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl
- All Implemented Interfaces:
- iaik.server.modules.xml.BinaryDataObject, iaik.server.modules.xml.DataObject
- public class ByteArrayDataObjectImpl
- extends DataObjectImpl
- implements iaik.server.modules.xml.BinaryDataObject
A BinaryDataObject
encapsulating Base64 data.
- 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 |
ByteArrayDataObjectImpl
public ByteArrayDataObjectImpl(byte[] bytes)
- Create a new
ByteArrayDataObjectImpl
.
- Parameters:
bytes
- The binary data contained in this
BinaryDataObject
.
setBytes
public void setBytes(byte[] bytes)
- Set the Base64 data.
- Parameters:
bytes
- The binary data contained in this
BinaryDataObject
.
getInputStream
public InputStream getInputStream()
- Return the binary data encoded in the Base64
String
as a
stream.
- Specified by:
getInputStream
in interface iaik.server.modules.xml.BinaryDataObject
- Returns:
- The binary data contained in this object, as a
InputStream
. Repeated calls to this function will return a
new stream to the Base64 data. - See Also:
BinaryDataObject.getInputStream()