|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.siemens.ct.exi.io.channel.PreReadByteDecoderChannel
public class PreReadByteDecoderChannel
TODO Description
Constructor Summary | |
---|---|
PreReadByteDecoderChannel(TypeDecoder decoder,
ByteDecoderChannel bdc,
ExpandedName qname,
java.util.List<Datatype> datatypes,
int occurrences)
|
Method Summary | |
---|---|
int |
decode()
Decodes a single byte |
byte[] |
decodeBinary()
Decode a binary value as a length-prefixed sequence of octets. |
java.lang.String |
decodeBinaryAsString()
|
boolean |
decodeBoolean()
Decode a single boolean value. |
java.lang.String |
decodeBooleanAsString()
|
java.util.Calendar |
decodeDateTime(DatetimeType type)
Decode Date-Time as sequence of values representing the individual components of the Date-Time. |
java.lang.String |
decodeDateTimeAsString(DatetimeType type)
|
java.math.BigDecimal |
decodeDecimal()
Decode a decimal represented as a Boolean sign followed by two Unsigned Integers. |
java.lang.String |
decodeDecimalAsString()
|
int |
decodeEventCode(int characteristics)
|
float |
decodeFloat()
Decode a Float represented as two consecutive Integers. |
java.lang.String |
decodeFloatAsString()
|
int |
decodeInteger()
Decode an arbitrary precision integer using a sign bit followed by a sequence of octets. |
java.lang.String |
decodeIntegerAsString()
|
int |
decodeNBitUnsignedInteger(int n)
Decodes and returns an n-bit unsigned integer. |
java.lang.String |
decodeNBitUnsignedIntegerAsString(int n)
Decodes and returns an n-bit unsigned integer as string. |
java.lang.String |
decodeString()
Decode a string as a length-prefixed sequence of UCS codepoints, each of which is encoded as an integer. |
java.lang.String |
decodeStringOnly(int length)
Decode the characters of a string whose length has already been read. |
int |
decodeUnsignedInteger()
Decode an arbitrary precision non negative integer using a sequence of octets. |
long |
decodeUnsignedIntegerAsLong()
|
java.lang.String |
decodeUnsignedIntegerAsString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreReadByteDecoderChannel(TypeDecoder decoder, ByteDecoderChannel bdc, ExpandedName qname, java.util.List<Datatype> datatypes, int occurrences) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int decode() throws java.io.IOException
DecoderChannel
decode
in interface DecoderChannel
java.io.IOException
public byte[] decodeBinary() throws java.io.IOException
DecoderChannel
decodeBinary
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeBinaryAsString() throws java.io.IOException
decodeBinaryAsString
in interface DecoderChannel
java.io.IOException
public boolean decodeBoolean() throws java.io.IOException
DecoderChannel
decodeBoolean
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeBooleanAsString() throws java.io.IOException
decodeBooleanAsString
in interface DecoderChannel
java.io.IOException
public java.util.Calendar decodeDateTime(DatetimeType type) throws java.io.IOException
DecoderChannel
decodeDateTime
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeDateTimeAsString(DatetimeType type) throws java.io.IOException
decodeDateTimeAsString
in interface DecoderChannel
java.io.IOException
public java.math.BigDecimal decodeDecimal() throws java.io.IOException
DecoderChannel
decodeDecimal
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeDecimalAsString() throws java.io.IOException
decodeDecimalAsString
in interface DecoderChannel
java.io.IOException
public int decodeEventCode(int characteristics) throws java.io.IOException
java.io.IOException
public float decodeFloat() throws java.io.IOException
DecoderChannel
decodeFloat
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeFloatAsString() throws java.io.IOException
decodeFloatAsString
in interface DecoderChannel
java.io.IOException
public int decodeInteger() throws java.io.IOException
DecoderChannel
decodeInteger
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeIntegerAsString() throws java.io.IOException
decodeIntegerAsString
in interface DecoderChannel
java.io.IOException
public int decodeNBitUnsignedInteger(int n) throws java.io.IOException
DecoderChannel
decodeNBitUnsignedInteger
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeNBitUnsignedIntegerAsString(int n) throws java.io.IOException
decodeNBitUnsignedIntegerAsString
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeString() throws java.io.IOException
DecoderChannel
decodeString
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeStringOnly(int length) throws java.io.IOException
DecoderChannel
decodeStringOnly
in interface DecoderChannel
length
- Length of the character sequence to read.
java.io.IOException
public int decodeUnsignedInteger() throws java.io.IOException
DecoderChannel
decodeUnsignedInteger
in interface DecoderChannel
java.io.IOException
public long decodeUnsignedIntegerAsLong() throws java.io.IOException
decodeUnsignedIntegerAsLong
in interface DecoderChannel
java.io.IOException
public java.lang.String decodeUnsignedIntegerAsString() throws java.io.IOException
decodeUnsignedIntegerAsString
in interface DecoderChannel
java.io.IOException
|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |