Class PngInputStream
java.lang.Object
java.io.InputStream
org.eclipse.swt.internal.image.PngInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PngChunk(package private) static final int(package private) int(package private) int(package private) PngChunkReader -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
reader
PngChunkReader reader -
chunk
PngChunk chunk -
offset
int offset -
length
int length -
DATA_OFFSET
static final int DATA_OFFSET- See Also:
-
-
Constructor Details
-
PngInputStream
-
-
Method Details
-
checkChunk
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-