java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.input.FileInputRegionInformation |
Location information within binary input. Those objects are constituted of one offset, and an optional size.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FileInputRegionInformation(long offset)
Create a new location object with an unknown size.
| |||||||||||
FileInputRegionInformation(long offset, long size)
Create a new location object.
| |||||||||||
FileInputRegionInformation(long offset, long size, IInput input)
Create a new location object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IInput |
getInput()
Get the input object.
| ||||||||||
long |
getOffset()
Get the location offset in bytes, relative to the beginning of the input.
| ||||||||||
long |
getSize()
Get the location size in bytes.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a new location object with an unknown size.
offset | mandatory offset |
---|
Create a new location object.
offset | the non-negative offset |
---|---|
size | optional size, zero to indicate an unknown size |
Create a new location object.
offset | the non-negative offset |
---|---|
size | optional size, zero to indicate an unknown size |
input | optional input, if the input object is not known (or unclear) by the client |
Get the input object.
Get the location offset in bytes, relative to the beginning of the input.
Get the location size in bytes.