|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.actions.FileSpecification
public class FileSpecification
The File Specification diction provides more flexibility then the string form. allowing different files to be specified for different file systems or platforms, or for file system othere than the standard ones (DOS/Windows, Mac OS, and Unix).
| Field Summary | |
|---|---|
static Name |
DESC_KEY
|
static Name |
DOS_KEY
|
static Name |
EF_KEY
|
static Name |
F_KEY
|
static Name |
FS_KEY
|
static Name |
ID_KEY
|
static Name |
MAC_KEY
|
static Name |
RF_KEY
|
static Name |
UNIX_KEY
|
static Name |
V_KEY
|
| Fields inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY |
| Constructor Summary | |
|---|---|
FileSpecification(Library l,
java.util.HashMap h)
Constructs a new specification dictionary. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the descriptive text associated with the file specification. |
java.lang.String |
getDos()
Gets the file specification string representing a DOS file name. |
java.util.HashMap |
getEmbeddedFileDictionary()
Gets a dictionary containing a subset of the keys F, DOS, Mac, and Unix. |
java.lang.String |
getFileSpecification()
Gets the file specification string. |
Name |
getFileSystemName()
Gets the name of the file system to be used to interpret this file specification. |
java.lang.String |
getId()
Gets an array of two strings constituting a file identifier that is also included in the referenced file. |
java.lang.String |
getMac()
Gets the file specification string representing a Mac file name. |
java.util.HashMap |
getRelatedFilesDictionary()
Gets a dictionary with the same structure as the EF dectionary, which must also b present. |
Name |
getType()
The type of the PDF object that this dictionary describes which is always "Filespec". |
java.lang.String |
getUnix()
Gets the file specification string representing a Unix file name. |
java.lang.Boolean |
isVolitile()
Returns a flag indicating whether the file referenced by the file specification is volatile (changes frequently with time). |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Name FS_KEY
public static final Name F_KEY
public static final Name DOS_KEY
public static final Name MAC_KEY
public static final Name UNIX_KEY
public static final Name ID_KEY
public static final Name V_KEY
public static final Name EF_KEY
public static final Name RF_KEY
public static final Name DESC_KEY
| Constructor Detail |
|---|
public FileSpecification(Library l,
java.util.HashMap h)
l - document library.h - dictionary entries.| Method Detail |
|---|
public Name getType()
public Name getFileSystemName()
public java.lang.String getFileSpecification()
public java.lang.String getDos()
public java.lang.String getMac()
public java.lang.String getUnix()
public java.lang.String getId()
public java.lang.Boolean isVolitile()
public java.util.HashMap getEmbeddedFileDictionary()
public java.util.HashMap getRelatedFilesDictionary()
public java.lang.String getDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||