Package org.faceless.pdf2
Class OutputProfile.Extension
- java.lang.Object
-
- org.faceless.pdf2.OutputProfile.Extension
-
- Enclosing class:
- OutputProfile
public static class OutputProfile.Extension extends Object
Describes an extension to the PDF specification, as recorded in the "Extensions" item of the PDF catalog.- Since:
- 2.27.2
- See Also:
OutputProfile.getExtensions()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBaseVersion()
Return the Extension Base PDF Version, typicaly "1.7" or "2.0"int
getLevel()
Return the Extension LevelString
getPrefix()
Return the Extension PrefixString
getRevision()
Return the Extension Revision, ornull
if not specifiedString
getURL()
Return the Extension URL, ornull
if not specifiedint
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Extension
public Extension(String prefix, String baseVersion, int level, String url, String revision)
Create a new Extension- Parameters:
prefix
- the prefix, which should be a four-letter valuebaseVersion
- the base version, which must be "1.7" or "2.0"level
- the levelurl
- the URL (optional)revision
- the revision (optional)
-
-
Method Detail
-
getPrefix
public String getPrefix()
Return the Extension Prefix
-
getBaseVersion
public String getBaseVersion()
Return the Extension Base PDF Version, typicaly "1.7" or "2.0"
-
getURL
public String getURL()
Return the Extension URL, ornull
if not specified
-
getRevision
public String getRevision()
Return the Extension Revision, ornull
if not specified
-
getLevel
public int getLevel()
Return the Extension Level
-
-