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. Developer extensions are used to indicate new functionality added to the PDF specification, much like version numbering did prior to PDF 2.0.- Since:
- 2.27.2
- See Also:
OutputProfile.getExtensions()
-
-
Field Summary
Fields Modifier and Type Field Description static OutputProfile.ExtensionBrotli_2026The PDF developer extension for Brotli compression at https://pdfa.org/extension-brotli/static OutputProfile.ExtensionISO24064_2023The PDF developer extension for ISO 24064:2023 (PDF 2.0 RichMedia STEP AP 242 support) at https://pdfa.org/extensions/static OutputProfile.ExtensionISO32001_2022The PDF developer extension for ISO 32001:2022 (PDF 2.0 Hash Algorithm extensions for SHA-3 and SHAKE256) at https://pdfa.org/extensions/static OutputProfile.ExtensionISO32002_2022The PDF developer extension for ISO 32002:2022 (PDF 2.0 Digital Signature extensions) at https://pdfa.org/extensions/static OutputProfile.ExtensionISO32003_2023The PDF developer extension for ISO 32003:2023 (PDF 2.0 AES-GCM support) at https://pdfa.org/extensions/static OutputProfile.ExtensionISO32004_2023The PDF developer extension for ISO 32004:2022 (PDF 2.0 Integrity protection in encrypted documents) at https://pdfa.org/extensions/static OutputProfile.ExtensionISO32007_2024The PDF developer extension for ISO 32007:2024 (PDF 2.0 RichMedia glTF support) at https://pdfa.org/extensions/
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBaseVersion()Return the Extension Base PDF Version, typicaly "1.7" or "2.0"intgetLevel()Return the Extension LevelStringgetPrefix()Return the Extension PrefixStringgetRevision()Return the Extension Revision, ornullif not specifiedStringgetURL()Return the Extension URL, ornullif not specifiedinthashCode()StringtoString()
-
-
-
Field Detail
-
ISO32001_2022
public static final OutputProfile.Extension ISO32001_2022
The PDF developer extension for ISO 32001:2022 (PDF 2.0 Hash Algorithm extensions for SHA-3 and SHAKE256) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
ISO32002_2022
public static final OutputProfile.Extension ISO32002_2022
The PDF developer extension for ISO 32002:2022 (PDF 2.0 Digital Signature extensions) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
ISO32003_2023
public static final OutputProfile.Extension ISO32003_2023
The PDF developer extension for ISO 32003:2023 (PDF 2.0 AES-GCM support) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
ISO32004_2023
public static final OutputProfile.Extension ISO32004_2023
The PDF developer extension for ISO 32004:2022 (PDF 2.0 Integrity protection in encrypted documents) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
ISO24064_2023
public static final OutputProfile.Extension ISO24064_2023
The PDF developer extension for ISO 24064:2023 (PDF 2.0 RichMedia STEP AP 242 support) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
ISO32007_2024
public static final OutputProfile.Extension ISO32007_2024
The PDF developer extension for ISO 32007:2024 (PDF 2.0 RichMedia glTF support) at https://pdfa.org/extensions/- Since:
- 2.29.7
-
Brotli_2026
public static final OutputProfile.Extension Brotli_2026
The PDF developer extension for Brotli compression at https://pdfa.org/extension-brotli/- Since:
- 2.29.7
-
-
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, ornullif not specified
-
getRevision
public String getRevision()
Return the Extension Revision, ornullif not specified
-
getLevel
public int getLevel()
Return the Extension Level
-
-