at.spardat.xma.serializer
Class TaggedAsciiDeserializer
java.lang.Object
at.spardat.xma.serializer.AsciiDeserializer
at.spardat.xma.serializer.TaggedAsciiDeserializer
- All Implemented Interfaces:
- Deserializer, XmaInput
- public class TaggedAsciiDeserializer
- extends AsciiDeserializer
Is able to read the byte stream written by TaggedAsciiSerializer.
|
Method Summary |
byte[] |
readSerializedBytes()
Reads a sequence of bytes that has been written with writeSerializedBytes.
|
protected java.lang.String |
readStringEscaped()
There must be three components read: First, a label, followed by '=',
then the value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaggedAsciiDeserializer
public TaggedAsciiDeserializer(byte[] data,
int length)
- Constructor
- Parameters:
data - serialized array of datalength - first length bytes in data are used.
TaggedAsciiDeserializer
public TaggedAsciiDeserializer(byte[] data)
- Constructor
- Parameters:
data - serialized array of data
TaggedAsciiDeserializer
public TaggedAsciiDeserializer(byte[] data,
int offset,
int length)
readStringEscaped
protected java.lang.String readStringEscaped()
- There must be three components read: First, a label, followed by '=',
then the value.
- Overrides:
readStringEscaped in class AsciiDeserializer
- See Also:
AsciiDeserializer.readStringEscaped()
readSerializedBytes
public byte[] readSerializedBytes()
throws java.io.IOException
- Description copied from interface:
XmaInput
- Reads a sequence of bytes that has been written with writeSerializedBytes.
The result can be deserialized using the same kind of Deserializer as the
one that provides this XmaInput.
- Specified by:
readSerializedBytes in interface XmaInput- Overrides:
readSerializedBytes in class AsciiDeserializer
- Throws:
java.io.IOException- See Also:
AsciiDeserializer.readSerializedBytes()