com.lowagie.text.pdf
Class PRStream
java.lang.Object
|
+--com.lowagie.text.pdf.PdfObject
|
+--com.lowagie.text.pdf.PdfDictionary
|
+--com.lowagie.text.pdf.PdfStream
|
+--com.lowagie.text.pdf.PRStream
- public class PRStream
- extends PdfStream
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
isArray, isBoolean, isDictionary, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type |
reader
protected PdfReader reader
offset
protected int offset
length
protected int length
objNum
protected int objNum
objGen
protected int objGen
PRStream
public PRStream(PRStream stream,
PdfDictionary newDic)
PRStream
public PRStream(PdfReader reader,
int offset)
PRStream
public PRStream(PdfReader reader,
byte[] conts)
setLength
public void setLength(int length)
getOffset
public int getOffset()
getLength
public int getLength()
getReader
public PdfReader getReader()
getBytes
public byte[] getBytes()
- Overrides:
getBytes
in class PdfObject
setObjNum
public void setObjNum(int objNum,
int objGen)
getObjNum
int getObjNum()
getObjGen
int getObjGen()
toPdf
public void toPdf(PdfWriter writer,
OutputStream os)
throws IOException
- Description copied from class:
PdfDictionary
- Returns the PDF representation of this
PdfDictionary
.
- Overrides:
toPdf
in class PdfStream
- Returns:
- an array of
byte
IOException