Class GFEmbeddedFile
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.external.GFExternal
-
- org.verapdf.gf.model.impl.external.GFEmbeddedFile
-
- All Implemented Interfaces:
Object,EmbeddedFile,External
public class GFEmbeddedFile extends GFExternal implements EmbeddedFile
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMBEDDED_FILE_TYPEType name forPBoxEmbeddedFile-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFEmbeddedFile(COSStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetisValidPDFA12()true if this file is a valid PDF/A document (Part 1 or Part 2) on its ownBooleangetisValidPDFA124()true if this file is a valid PDF/A document (Part 1, Part 2 or Part 4) on its ownStringgetSubtype()MIME type of the embedded file (/Subtype entry in the embedded file dictionary)-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
EMBEDDED_FILE_TYPE
public static final String EMBEDDED_FILE_TYPE
Type name forPBoxEmbeddedFile- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFEmbeddedFile
public GFEmbeddedFile(COSStream stream)
-
-
Method Detail
-
getSubtype
public String getSubtype()
Description copied from interface:EmbeddedFileMIME type of the embedded file (/Subtype entry in the embedded file dictionary)- Specified by:
getSubtypein interfaceEmbeddedFile
-
getisValidPDFA12
public Boolean getisValidPDFA12()
Description copied from interface:EmbeddedFiletrue if this file is a valid PDF/A document (Part 1 or Part 2) on its own- Specified by:
getisValidPDFA12in interfaceEmbeddedFile
-
getisValidPDFA124
public Boolean getisValidPDFA124()
Description copied from interface:EmbeddedFiletrue if this file is a valid PDF/A document (Part 1, Part 2 or Part 4) on its own- Specified by:
getisValidPDFA124in interfaceEmbeddedFile
-
-