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 intposprivate intsamplesPerRowprivate java.io.InputStreamstream
-
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 voidclose()intread()
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.InputStream- Throws:
java.io.IOException
-
-