protected static class IlvRasterASRPReader.FieldPosition extends Object
| Constructor and Description |
|---|
FieldPosition(int length,
int pos)
Constructor initializing the tag length and position in the file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clean the previously extracted data.
|
byte[] |
extractFrom(byte[] data)
Extract the information contained in the field from a given byte data
array.
|
int |
getLength()
Returns The length.
|
int |
getPosition()
Returns The position.
|
void |
setLength(int length)
Sets the field length.
|
void |
setPosition(int position)
Sets the field position.
|
String |
toString()
Creates a text representation of the information stored.
|
public FieldPosition(int length,
int pos)
length - The number of characters in the tag.pos - The position of the tag in the file.public void clear()
extractFrom(byte[])public byte[] extractFrom(byte[] data)
data - The array containing the information.public int getLength()
public int getPosition()
public void setLength(int length)
length - The length to set.public void setPosition(int position)
position - The position to set.public String toString()
toString in class ObjectObject.toString()© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.