Package com.inet.pdfc.config
Class DefaultProfileID
java.lang.Object
com.inet.pdfc.config.DefaultProfileID
This class is provides the IDs of the installed and available default profiles. This profiles are for instance visible
in the desktop application or the server. Unlike the listing in the server, this class will ignore the filters set in the
global configuration.
- Since:
- i-net PDFC 4.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default profile to compare all elements in continuous page modestatic final String
The default profile to compare all elements page by pagestatic final String
The default profile to compare all elements page by page with very strict tolerance settings.static final String
The default profile to compare text and text styles in continuous page modestatic final String
The default profile to compare text only in continuous page mode -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLists all default profiles which are available in the current environments.static boolean
isAvailable
(@Nullable String id) Checks whether a profile is available.
-
Field Details
-
ID_TEXT_ONLY
The default profile to compare text only in continuous page mode- See Also:
-
ID_TEXT_AND_STYLES
The default profile to compare text and text styles in continuous page mode- See Also:
-
ID_CONTINUOUS
The default profile to compare all elements in continuous page mode- See Also:
-
ID_PAGED
The default profile to compare all elements page by page- See Also:
-
ID_PAGED_IDENTICAL
The default profile to compare all elements page by page with very strict tolerance settings. This will accept only nearly identical documents.- See Also:
-
-
Constructor Details
-
DefaultProfileID
public DefaultProfileID()
-
-
Method Details
-
getAvailableProfileIDs
Lists all default profiles which are available in the current environments. Default profiles can vary depending on the installed and activated plugins.- Returns:
- a list with the IDs of the available default profiles
- Since:
- i-net PDFC 4.0
-
isAvailable
Checks whether a profile is available. A profile may be unavailable if it's plugin was removed or deactivated or, if it was a user profile that has been removed.- Parameters:
id
- the id of the profile to check for- Returns:
true
, if the Id can be used forPDFComparer.setProfile(String)
- Since:
- i-net PDFC 4.0
-