|
jPod PDF library | |||||||||
| 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_Desc
Description |
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 COSName |
DK_UF
Unicode File |
static PDFileSpecification.MetaClass |
META
The meta class instance |
| Fields inherited from class de.intarsys.pdf.pd.PDObject |
|---|
DK_Subtype, DK_Type |
| Method Summary | |
|---|---|
String |
getDescription()
|
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 |
setDescription(String description)
|
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 DK_UF
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
public static final COSName DK_Desc
| Method Detail |
|---|
public String getDescription()
public PDEmbeddedFile getEmbeddedFile(COSName flavor)
flavor - One of F, DOC, Mac, Unix
public COSDictionary getEmbeddedFiles()
public String getFile()
public String getFileSpecificationString(COSName flavor)
public COSName getFileSystem()
public void setDescription(String description)
public void setEmbeddedFile(COSName flavor,
PDEmbeddedFile embeddedFile)
public void setFile(String file)
public void setFileSpecificationString(COSName flavor,
String spec)
public void setFileSystem(COSName bs)
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||