Class Plain1BitDecoder
- java.lang.Object
-
- java.io.InputStream
-
- com.twelvemonkeys.imageio.plugins.pnm.Plain1BitDecoder
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class Plain1BitDecoder extends java.io.InputStream
-
-
Field Summary
Fields Modifier and Type Field Description private int
pos
private int
samplesPerRow
private java.io.InputStream
stream
-
Constructor Summary
Constructors Constructor Description Plain1BitDecoder(java.io.InputStream in, int samplesPerRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException
- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-