Class LaunchAction.FileSpec
java.lang.Object
org.openpdf.renderer.action.LaunchAction.FileSpec
- Enclosing class:
LaunchAction
Inner class for storing a file specification
- Since:
- 08.07.2009
- Version:
- $Id: LaunchAction.java,v 1.1 2009-07-10 12:47:31 xond Exp $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection item dictionaryFile specification descriptionA file specification string representing a DOS file name.Dictionary of embedded file streamsGet the filename: first try to get the file name for the used OS, if it's not available return the common file name.The name of the file system that should be used to interpret this entry.getId()ID - array of two byte strings constituting a file identifier, which should be included in the referenced file.A file specification string representing a mac file name.Dictionary of related files.Unicode file nameA file specification string representing a unix file name.booleanIs the file volatile?voidsetCollectionItem(PDFObject collectionItem) Collection item dictionaryvoidsetDescription(String description) File specification descriptionvoidsetDosFileName(String dosFileName) A file specification string representing a DOS file name.voidsetEmbeddedFile(PDFObject embeddedFile) Dictionary of embedded file streamsvoidsetFileName(String fileName) The file name.voidsetFileSystem(String fileSystem) The name of the file system that should be used to interpret this entry.voidID - array of two byte strings constituting a file identifier, which should be included in the referenced file.voidsetMacFileName(String macFileName) A file specification string representing a mac file name.voidsetRelatedFile(PDFObject relatedFile) Dictionary of related files.voidsetUnicode(String unicode) Unicode file namevoidsetUnixFileName(String unixFileName) A file specification string representing a unix file name.voidsetVolatileFile(boolean volatileFile) Is the file volatile?
-
Field Details
-
fileSystem
-
fileName
-
dosFileName
-
unixFileName
-
macFileName
-
unicode
-
id
-
volatileFile
private boolean volatileFile -
embeddedFile
-
description
-
collectionItem
-
-
Constructor Details
-
FileSpec
public FileSpec()
-
-
Method Details
-
getFileSystem
The name of the file system that should be used to interpret this entry.- Returns:
- String
-
setFileSystem
The name of the file system that should be used to interpret this entry.- Parameters:
fileSystem-
-
getFileName
Get the filename: first try to get the file name for the used OS, if it's not available return the common file name.- Returns:
- String
-
setFileName
-
getDosFileName
A file specification string representing a DOS file name.- Returns:
- String
-
setDosFileName
A file specification string representing a DOS file name.- Parameters:
dosFileName-
-
getUnixFileName
A file specification string representing a unix file name.- Returns:
- String
-
setUnixFileName
A file specification string representing a unix file name.- Parameters:
unixFileName-
-
getMacFileName
A file specification string representing a mac file name.- Returns:
- String
-
setMacFileName
A file specification string representing a mac file name.- Parameters:
macFileName-
-
getUnicode
-
setUnicode
-
getId
ID - array of two byte strings constituting a file identifier, which should be included in the referenced file.- Returns:
- PDFObject
-
setId
ID - array of two byte strings constituting a file identifier, which should be included in the referenced file.- Parameters:
id-
-
isVolatileFile
public boolean isVolatileFile()Is the file volatile?- Returns:
- boolean
-
setVolatileFile
public void setVolatileFile(boolean volatileFile) Is the file volatile?- Parameters:
volatileFile-
-
getEmbeddedFile
-
setEmbeddedFile
Dictionary of embedded file streams- Parameters:
embeddedFile-
-
getRelatedFile
-
setRelatedFile
Dictionary of related files.- Parameters:
relatedFile-
-
getDescription
-
setDescription
File specification description- Parameters:
description-
-
getCollectionItem
-
setCollectionItem
Collection item dictionary- Parameters:
collectionItem-
-