public class PDFileSpecification extends PDObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFileSpecification.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
CN_Alternative
File is an alternative representation of content
|
static COSName |
CN_Data
File represents information used to derive a visual presentation
|
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_Source
File is original source material for the associated content
|
static COSName |
CN_Supplement
File represents a supplemental representation of the original source or
data that may be more easily consumable
|
static COSName |
CN_Type_Alt_Filespec |
static COSName |
CN_Type_Filespec |
static COSName |
CN_Unspecified
File relationship is not known or can’t be described using one of the
other values
|
static COSName |
DK_AFRelationship
Associated file relationship
|
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
|
DK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
COSName |
getAFRelationship() |
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 |
setAFRelationship(COSName relationship) |
void |
setDescription(String description) |
void |
setEmbeddedFile(COSName flavor,
PDEmbeddedFile embeddedFile) |
void |
setFile(String file) |
void |
setFileSpecificationString(COSName flavor,
String spec) |
void |
setFileSystem(COSName bs) |
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, 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, setFieldStringpublic 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 CN_Source
public static final COSName CN_Data
public static final COSName CN_Alternative
public static final COSName CN_Supplement
public static final COSName CN_Unspecified
public static final COSName DK_EF
public static final COSName DK_RF
public static final COSName DK_Desc
public static final COSName DK_AFRelationship
public COSName getAFRelationship()
public String getDescription()
public PDEmbeddedFile getEmbeddedFile(COSName flavor)
flavor - One of F, DOC, Mac, Unixpublic COSDictionary getEmbeddedFiles()
public String getFile()
public COSName getFileSystem()
public void setAFRelationship(COSName relationship)
public void setDescription(String description)
public void setEmbeddedFile(COSName flavor, PDEmbeddedFile embeddedFile)
public void setFile(String file)
public void setFileSystem(COSName bs)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.