|
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.PDFileSpecification
public class PDFileSpecification
Repesents the PDF's FileSpecification-type
Nested Class Summary | |
---|---|
static class |
PDFileSpecification.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_F_DOS
File specification string for DOS files |
static COSName |
CN_F_Mac
File specification string for Macintosh files |
static COSName |
CN_F_Unix
File specification string for UNIX files |
static COSName |
CN_FS_URL
File URL |
static COSName |
CN_Type_Alt_Filespec
|
static COSName |
CN_Type_Filespec
|
static COSName |
DK_EF
Embedded file dict |
static COSName |
DK_F
File |
static COSName |
DK_FS
Name of the file system. |
static COSName |
DK_RF
Embedded file array dict. |
static PDFileSpecification.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
PDEmbeddedFile |
getEmbeddedFile(COSName flavor)
The embedded file of a specific flavor (one of F, DOS, Mac, Unix), |
COSDictionary |
getEmbeddedFiles()
The dictionary mapping the F/DOC/Mac/Unix entries of the file spec to embedded file dictionaries. |
String |
getFile()
|
String |
getFileSpecificationString(COSName flavor)
|
COSName |
getFileSystem()
|
void |
setEmbeddedFile(COSName flavor,
PDEmbeddedFile embeddedFile)
|
void |
setFile(String file)
|
void |
setFileSpecificationString(COSName flavor,
String spec)
|
void |
setFileSystem(COSName bs)
|
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, cosGetDict, 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 COSName CN_Type_Filespec
public static final COSName CN_Type_Alt_Filespec
public static final PDFileSpecification.MetaClass META
public static final COSName DK_FS
public static final COSName DK_F
public static final COSName CN_F_DOS
public static final COSName CN_F_Mac
public static final COSName CN_F_Unix
public static final COSName CN_FS_URL
public static final COSName DK_EF
public static final COSName DK_RF
Method Detail |
---|
public void setFileSystem(COSName bs)
public COSName getFileSystem()
public String getFile()
public PDEmbeddedFile getEmbeddedFile(COSName flavor)
flavor
- One of F, DOC, Mac, Unix
public void setEmbeddedFile(COSName flavor, PDEmbeddedFile embeddedFile)
public String getFileSpecificationString(COSName flavor)
public void setFileSpecificationString(COSName flavor, String spec)
public COSDictionary getEmbeddedFiles()
public void setFile(String file)
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |