com.groupdocs.redaction.redactions

Class MetadataFilters



  • public final class MetadataFilters
    extends Object

    Represents a list of the most common types of document metadata.

    • Constructor Detail

      • MetadataFilters

        public MetadataFilters()
    • Method Detail

      • getNames

        public static Set<String> getNames()

        Gets a set with all declared filter types.

        Returns:
        A set with all declared filter types.
      • getValueByName

        public static int getValueByName(String valueName)

        Gets value of MetadataFiler by its name.

        Parameters:
        valueName - Name of MetadataFilter.
        Returns:
        Value of MetadataFiler.
      • parse

        public static int parse(String values)

        Parses a string of comma-delimited MetadataFilers values into an int.

        Parameters:
        values - A string of comma-delimited MetadataFilers values.
        Returns:
        Value of MetadataFilers.
      • toString

        public static String toString(int value)

        Saves an integer as a string of comma-delimited MetadataFilers values.

        Parameters:
        value - Value of MetadataFiler.
        Returns:
        A string of comma-delimited MetadataFiler values.