Package org.faceless.pdf2
Class OutputProfile.Extension
- java.lang.Object
-
- org.faceless.pdf2.OutputProfile.Extension
-
- Enclosing class:
- OutputProfile
public static class OutputProfile.Extension extends java.lang.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()
-
-
Constructor Summary
Constructors Constructor Description Extension(java.lang.String prefix, java.lang.String baseVersion, int level, java.lang.String url, java.lang.String revision)
Create a new Extension
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getBaseVersion()
Return the Extension Base PDF Version, typicaly "1.7" or "2.0"int
getLevel()
Return the Extension Leveljava.lang.String
getPrefix()
Return the Extension Prefixjava.lang.String
getRevision()
Return the Extension Revision, ornull
if not specifiedjava.lang.String
getURL()
Return the Extension URL, ornull
if not specifiedint
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Extension
public Extension(java.lang.String prefix, java.lang.String baseVersion, int level, java.lang.String url, java.lang.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
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getPrefix
public java.lang.String getPrefix()
Return the Extension Prefix
-
getBaseVersion
public java.lang.String getBaseVersion()
Return the Extension Base PDF Version, typicaly "1.7" or "2.0"
-
getURL
public java.lang.String getURL()
Return the Extension URL, ornull
if not specified
-
getRevision
public java.lang.String getRevision()
Return the Extension Revision, ornull
if not specified
-
getLevel
public int getLevel()
Return the Extension Level
-
-