|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PdfInput
Specifies methods used by PdfReader
to read
portions of a PDF document. A class that implements this interface
should represent one PDF document per instance of the class.
Method Summary | |
---|---|
long |
getLength()
Returns the length of the PDF document. |
java.lang.String |
getName()
Returns a name string associated of the PDF document. |
java.nio.ByteBuffer |
readBytes(long start,
long end)
Returns a specified portion of a PDF document as a ByteBuffer . |
java.nio.CharBuffer |
readChars(long start,
long end)
Returns a specified portion of a PDF document as a CharBuffer . |
Method Detail |
---|
java.lang.String getName()
long getLength()
java.nio.ByteBuffer readBytes(long start, long end) throws java.io.IOException
ByteBuffer
.
start
- the offset position of the first byte to read.end
- the offset position at which to stop reading.
(The byte at this offset is not included.)
java.io.IOException
java.nio.CharBuffer readChars(long start, long end) throws java.io.IOException
CharBuffer
.
start
- the offset position of the first byte to read.end
- the offset position at which to stop reading.
(The byte at this offset is not included.)
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |