Enum ConversionStrategy

java.lang.Object
java.lang.Enum<ConversionStrategy>
com.pdftools.optimization.ConversionStrategy
All Implemented Interfaces:
Serializable, Comparable<ConversionStrategy>

public enum ConversionStrategy extends Enum<ConversionStrategy>

The conversion strategy for PDF objects

  • Enum Constant Details

    • COPY

      public static final ConversionStrategy COPY
      The object is copied onto the output page.
    • FLATTEN

      public static final ConversionStrategy FLATTEN
      The object is removed, but its visual appearance is drawn as non-editable graphic onto the output page.
  • Method Details

    • values

      public static ConversionStrategy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ConversionStrategy 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 name
      NullPointerException - if the argument is null