|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.decode.PDFDecoder
public class PDFDecoder
A PDF Decoder encapsulates all the methods of decoding a stream of bytes based on all the various encoding methods.
You should use the decodeStream() method of this object rather than using any of the decoders directly.
Method Summary | |
---|---|
static java.nio.ByteBuffer |
decodeStream(PDFObject dict,
java.nio.ByteBuffer streamBuf)
decode a byte[] stream using the filters specified in the object's dictionary (passed as argument 1). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.nio.ByteBuffer decodeStream(PDFObject dict, java.nio.ByteBuffer streamBuf) throws java.io.IOException
dict
- the dictionary associated with the streamstreamBuf
- the data in the stream, as a byte buffer
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |