Package com.snowtide
Enum PDF.Feature
- java.lang.Object
-
- java.lang.Enum<PDF.Feature>
-
- com.snowtide.PDF.Feature
-
- All Implemented Interfaces:
Serializable,Comparable<PDF.Feature>
- Enclosing class:
public static enum PDF.Feature extends Enum<PDF.Feature>
An enumeration of the discrete features available within PDFxStream. UsePDF.hasFeature(com.snowtide.PDF.Feature)to determine at runtime whether theloaded license fileincludes a givenFeature. If an API call requires a feature that isn't enabled by the loaded license file, the call will throw anInsufficientLicenseException.- Version:
- ©2004-2025 Snowtide
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BaseDeprecated.PDFxStream no longer alters its functionality based on "active" featuresFormsDeprecated.PDFxStream no longer alters its functionality based on "active" featuresImagesDeprecated.PDFxStream no longer alters its functionality based on "active" featuresPerpetualTextDeprecated.PDFxStream no longer alters its functionality based on "active" features
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDF.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static PDF.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Base
@Deprecated public static final PDF.Feature Base
Deprecated.PDFxStream no longer alters its functionality based on "active" featuresBaseis enabled in all PDFxStream licenses, as it provides all of the foundational capabilities for reading and decoding PDF data. Additionally, it includes a number of basic PDF content extraction capabilities, including:decryption of encrypted PDF documents- Extraction of
PDF annotations - Extraction of
embedded files and attachments - Extraction of
bookmarks - Extraction of document metadata, as either
key/value pairsorXML - Extraction of
"raw" character data - Extraction of image metadata, including image
dimensions,locations, andtypes PDF file merging
-
Text
@Deprecated public static final PDF.Feature Text
Deprecated.PDFxStream no longer alters its functionality based on "active" featuresWhen enabled,Textprovides a variety of capabilities related to PDF text extraction, including:- Automated layout processing, providing a traversable PDF
document model - Serialization of the document model to text via
OutputSource.pipe(com.snowtide.pdf.OutputHandler), extensible via theOutputHandlerinterface - Various
OutputHandlerimplementations, covering most common text extraction use cases: - Basic detection and inference of
tables, withrelated utilities
- Automated layout processing, providing a traversable PDF
-
Images
@Deprecated public static final PDF.Feature Images
Deprecated.PDFxStream no longer alters its functionality based on "active" featuresWhen enabled,Imagesprovides a variety of capabilities related to PDF image extraction, including:- Support for decompressing and decoding dozens of different PDF image types
- Support for rendering to
on-screen graphics contextsorsaving to diskinfamiliar formats - Automatic composition of images encoded in PDF documents as tiles or strips
-
Forms
@Deprecated public static final PDF.Feature Forms
Deprecated.PDFxStream no longer alters its functionality based on "active" featuresWhen enabled,Formsprovides a variety of capabilities related to PDF form extraction, including:- Easy and simple APIs for
extractingandfillinginteractive andXFAforms - Comprehensive form field support, including
text,checkboxes,buttons,radio buttons,signature, andselectfields.
- Easy and simple APIs for
-
Perpetual
public static final PDF.Feature Perpetual
-
-
Method Detail
-
values
public static PDF.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDF.Feature c : PDF.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDF.Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-