Class Plain8BitDecoder
- java.lang.Object
-
- java.io.InputStream
-
- com.twelvemonkeys.imageio.plugins.pnm.Plain8BitDecoder
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
final class Plain8BitDecoder extends java.io.InputStream
-
-
Field Summary
Fields Modifier and Type Field Description private StringTokenIterator
currentLine
private java.io.BufferedReader
reader
-
Constructor Summary
Constructors Constructor Description Plain8BitDecoder(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
-
-
-
Field Detail
-
reader
private final java.io.BufferedReader reader
-
currentLine
private StringTokenIterator currentLine
-
-
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
-
-