Resource implementation, materialized by a position
within the Resource and a byte count for the length of that region.
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final long | |
| private final Resource |
| Access | Constructor and Description |
|---|---|
| public | ResourceRegion(Resource
a Resource resource, long the start position of the region in that resource position, long the byte count of the region in that resource count)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public Resource |
| count | back to summary |
|---|---|
| private final long count | |
| position | back to summary |
|---|---|
| private final long position | |
| resource | back to summary |
|---|---|
| private final Resource resource | |
| ResourceRegion | back to summary |
|---|---|
| public ResourceRegion(Resource resource, long position, long count) Create a new
| |
| getCount | back to summary |
|---|---|
| public long getCount() Return the byte count of this region in the underlying | |
| getPosition | back to summary |
|---|---|
| public long getPosition() Return the start position of this region in the underlying | |
| getResource | back to summary |
|---|---|
| public Resource getResource() Return the underlying | |