public final class UnparsedStructuredField
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getCompleteFieldAsBytes()
Returns the complete structured field as a byte array.
|
byte[] |
getData()
Returns the structured field's payload.
|
short |
getExtLength()
Returns the length of the extension if present.
|
byte |
getSfCategoryCode()
Returns the structured field's category code.
|
byte |
getSfClassCode()
Returns the structured field's class code.
|
short |
getSfLength()
Returns the structured field's length.
|
byte |
getSfTypeCode()
Returns the structured field's type code.
|
int |
getSfTypeID()
Returns the structured field's identifier.
|
boolean |
isSfiExtensionPresent()
Indicates whether an field introducer extension is present.
|
boolean |
isSfiPaddingPresent()
Indicates whether the data is padded.
|
boolean |
isSfiSegmentedData()
Indicates whether segmented data is present.
|
java.lang.String |
toString() |
void |
writeTo(java.io.OutputStream out)
Writes this structured field to the given
OutputStream . |
public java.lang.String toString()
toString
in class java.lang.Object
public short getSfLength()
public int getSfTypeID()
public byte getSfClassCode()
public byte getSfTypeCode()
public byte getSfCategoryCode()
public boolean isSfiExtensionPresent()
public boolean isSfiSegmentedData()
public boolean isSfiPaddingPresent()
public short getExtLength()
public byte[] getData()
public byte[] getCompleteFieldAsBytes()
public void writeTo(java.io.OutputStream out) throws java.io.IOException
OutputStream
.out
- the output streamjava.io.IOException
- if an I/O error occursCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.