protected static class IlvRasterASRPReader.SubFieldPosition extends IlvRasterASRPReader.FieldPosition
Constructor and Description |
---|
SubFieldPosition(String name,
char type,
int length,
int pos)
Creates storage for subfield information, initializing its name and
information about the tag location.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
extractFrom(byte[] data)
Extract the information contained in the subfield from the given byte
data array.
|
String |
getName()
Returns the name.
|
char |
getType()
Returns the type.
|
clear, getLength, getPosition, setLength, setPosition, toString
public SubFieldPosition(String name, char type, int length, int pos)
name
- The name of the subfield.type
- The type of data it contains.length
- The length of the subfield.pos
- The position of the subfield.public byte[] extractFrom(byte[] data)
extractFrom
in class IlvRasterASRPReader.FieldPosition
data
- The array containing the information.public String getName()
public char getType()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.