public class PBCosFileSpecification extends PBCosDict implements CosFileSpecification
| Modifier and Type | Field and Description |
|---|---|
static String |
COS_FILE_SPECIFICATION_TYPE
Type name for PBCosFileSpecification
|
static String |
EF |
COS_DICT_TYPE, document, flavour, KEYS, METADATA, VALUESbaseObject, MAX_NUMBER_OF_ELEMENTScontextDependent| Constructor and Description |
|---|
PBCosFileSpecification(COSDictionary dictionary,
PDDocument document,
PDFAFlavour flavour)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAFRelationship()
the relationship between the component of the PDF document that refers to this file specification and the associated file (/AFRelationship key)
|
Boolean |
getcontainsEF()
true if the file specification dictionary contains EF key
|
String |
getF()
a file specification string (F key)
|
Boolean |
getisAssociatedFile()
true if the file specification dictionary is associated (=referenced by the /AF key) with at least one of the following objects: catalog, page, XObject, annotation or structure element
|
List<? extends Object> |
getLinkedObjects(String link) |
String |
getUF()
a unicode file specification (UF key)
|
getFromValuegetID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String COS_FILE_SPECIFICATION_TYPE
public static final String EF
public PBCosFileSpecification(COSDictionary dictionary, PDDocument document, PDFAFlavour flavour)
dictionary - pdfbox COSDictionarypublic String getF()
CosFileSpecificationgetF in interface CosFileSpecificationpublic String getUF()
CosFileSpecificationgetUF in interface CosFileSpecificationpublic String getAFRelationship()
CosFileSpecificationgetAFRelationship in interface CosFileSpecificationpublic Boolean getisAssociatedFile()
CosFileSpecificationgetisAssociatedFile in interface CosFileSpecificationpublic Boolean getcontainsEF()
CosFileSpecificationgetcontainsEF in interface CosFileSpecificationpublic List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class PBCosDictlink - - the name of a linkCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.