public class FileSpecification extends Object
Constructor and Description |
---|
FileSpecification(PdfObject obj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PdfObject |
getSourceObject()
Returns the PdfObject from which the file specification was created.
|
String |
getSpecString()
Returns the file specification as a string.
|
public FileSpecification(PdfObject obj) throws PdfException
obj
- A PdfDictionary with the file specification under the
key "F", "Unix", "DOS", or "Mac"; or
a PdfSimpleObject whose string value is the
file specification. If obj
is
a dictionary and more than one key is specified,
then the first of the keys F, Unix, DOS, and Mac
to be found is used.PdfException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.