Class DefaultProfileID

java.lang.Object
com.inet.pdfc.config.DefaultProfileID

public class DefaultProfileID extends Object
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 Details

    • ID_TEXT_ONLY

      public static final String ID_TEXT_ONLY
      The default profile to compare text only in continuous page mode
      See Also:
    • ID_TEXT_AND_STYLES

      public static final String ID_TEXT_AND_STYLES
      The default profile to compare text and text styles in continuous page mode
      See Also:
    • ID_CONTINUOUS

      public static final String ID_CONTINUOUS
      The default profile to compare all elements in continuous page mode
      See Also:
    • ID_PAGED

      public static final String ID_PAGED
      The default profile to compare all elements page by page
      See Also:
    • ID_PAGED_IDENTICAL

      public static final String 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

      @Nonnull public static List<String> 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

      public static boolean isAvailable(@Nullable String id)
      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 for PDFComparer.setProfile(String)
      Since:
      i-net PDFC 4.0