|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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(java.lang.String filename,
byte[] document)
Create PDF file object from parameters. |
Method Summary | |
---|---|
byte[] |
getDocument()
Get binary PDF contents. |
java.lang.Integer |
getFilelength()
Get length of PDF |
java.lang.String |
getFilename()
Get filename of document |
void |
setDocument(byte[] document)
Fill in new PDF content |
void |
setFilelength(java.lang.Integer filelength)
Set file length |
void |
setFilename(java.lang.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(java.lang.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 java.lang.Integer getFilelength()
public void setFilelength(java.lang.Integer filelength)
filelength
- length in bytespublic java.lang.String getFilename()
public void setFilename(java.lang.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 |