public class PDEmbeddedFile extends PDObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PDEmbeddedFile.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_ModDate |
static COSName |
CN_Type_EmbeddedFile |
static COSName |
DK_Params |
static COSName |
DK_Subtype |
static PDEmbeddedFile.MetaClass |
META
The meta class instance
|
| Modifier and Type | Method and Description |
|---|---|
COSDictionary |
cosGetDict()
Get the base object as a
COSDictionary. |
byte[] |
getBytes()
get the data representing the XObject
|
PDEmbeddedFileParams |
getParams() |
String |
getSubtype() |
void |
setBytes(byte[] bytes)
set the data representing the XObject
|
void |
setParams(PDEmbeddedFileParams params) |
void |
setSubtype(String subtype) |
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, 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, setFieldStringpublic static final PDEmbeddedFile.MetaClass META
public static final COSName DK_Params
public static final COSName DK_Subtype
public static final COSName CN_ModDate
public static final COSName CN_Type_EmbeddedFile
public COSDictionary cosGetDict()
COSBasedObjectCOSDictionary.
This will throw a ClassCastException if the base type is not
appropriate!
cosGetDict in class COSBasedObjectCOSDictionary.public byte[] getBytes()
public PDEmbeddedFileParams getParams()
public String getSubtype()
public void setBytes(byte[] bytes)
bytes - the data representing the XObjectpublic void setParams(PDEmbeddedFileParams params)
public void setSubtype(String subtype)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.