-
- All Implemented Interfaces:
-
java.io.Closeable
,java.io.DataInput
,java.lang.AutoCloseable
public final class PwgReader extends DataInputStream
An InputStream that can read a RenderableDocument from PWG-Raster input
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
PwgReader.PwgDocument
A document sourced from PWG-Raster input. RenderablePage objects produced by this document can be assumed to be PwgPage objects.
public final class
PwgReader.PwgPage
-
Field Summary
Fields Modifier and Type Field Description private final ByteArray
bytearr
private final CharArray
chararr
private final ByteArray
readBuffer
private final CharArray
lineBuffer
private final InputStream
in
-
Constructor Summary
Constructors Constructor Description PwgReader(InputStream inputStream)
-
Method Summary
Modifier and Type Method Description final PwgReader.PwgDocument
readDocument()
Return a PwgDocument from input, throwing IOException for unrecoverable parsing errors. -
Methods inherited from class java.lang.AutoCloseable
equals, hashCode, toString
-
Methods inherited from class java.io.DataInputStream
available, close, mark, markSupported, read, reset, skip
-
Methods inherited from class com.hp.jipp.pdl.pwg.PwgReader
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUTF, readUnsignedByte, readUnsignedShort, skipBytes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PwgReader
PwgReader(InputStream inputStream)
-
-
Method Detail
-
readDocument
final PwgReader.PwgDocument readDocument()
Return a PwgDocument from input, throwing IOException for unrecoverable parsing errors.
-
-
-
-