public interface SegmentData
| Modifier and Type | Method and Description |
|---|---|
void |
init(SegmentHeader header,
SubInputStream sis)
Parse the stream and read information of header.
|
void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IntegerMaxValueException, IOException
header - - The segments' header (to make referred-to segments available in data part).sis - - Wrapped ImageInputStream into SubInputStream.InvalidHeaderValueException - if the segment header value is invalidIntegerMaxValueException - if the maximum value limit of an integer is exceededIOException - if an underlying IO operation failsCopyright © 2019 The Apache Software Foundation. All rights reserved.