public interface FieldLocation
ParseRecordEvent
Modifier and Type | Method and Description |
---|---|
TerminalRegion |
getFieldRegion()
Gets the current location, size and contents of the field
within the record.
|
LinearTerminalRegion |
setFieldRegion(int offset,
int length)
Changes the location and size of the field within the record
using linear coordinates.
|
TerminalRegion getFieldRegion()
LinearTerminalRegion setFieldRegion(int offset, int length)
offset
- the zero-based offset from the beginning of the recordlength
- the length of the fieldTerminalRegion
for the fieldjava.lang.IllegalArgumentException
- if the region is invalid