|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.render.obj.PDFFile
public class PDFFile
PDF File object encapsulating a PDF File content, file length and other meta attributes.
| Constructor Summary | |
|---|---|
PDFFile()
Default constructor. |
|
PDFFile(String filename,
byte[] document)
Create PDF file object from parameters. |
|
| Method Summary | |
|---|---|
byte[] |
getDocument()
Get binary PDF contents. |
Integer |
getFilelength()
Get length of PDF |
String |
getFilename()
Get filename of document |
void |
setDocument(byte[] document)
Fill in new PDF content |
void |
setFilelength(Integer filelength)
Set file length |
void |
setFilename(String dateiname)
Set filename for binary document |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFFile(String filename,
byte[] document)
filename - Name of the PDF file.document - Binary content of the PDF file.public PDFFile()
filename as "empty.pdf", and contents as empty.
| Method Detail |
|---|
public Integer getFilelength()
public void setFilelength(Integer filelength)
filelength - lebgth in bytespublic String getFilename()
public void setFilename(String dateiname)
dateiname - public byte[] getDocument()
public void setDocument(byte[] document)
document - Binary content of the PDF file.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||