|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDEmbeddedFile
public class PDEmbeddedFile
An embedding of another file (and optional content) within the PDF.
Nested Class Summary | |
---|---|
static class |
PDEmbeddedFile.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_Type_EmbeddedFile
|
static PDEmbeddedFile.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
COSDictionary |
cosGetDict()
Get the base object as a COSDictionary . |
byte[] |
getBytes()
get the data representing the XObject |
void |
setBytes(byte[] bytes)
set the data representing the XObject |
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PDEmbeddedFile.MetaClass META
public static final COSName CN_Type_EmbeddedFile
Method Detail |
---|
public COSDictionary cosGetDict()
COSBasedObject
COSDictionary
.
This will throw a ClassCastException
if the base type is not
appropriate!
cosGetDict
in class COSBasedObject
COSDictionary
.public byte[] getBytes()
public void setBytes(byte[] bytes)
bytes
- the data representing the XObject
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |