com.groupdocs.redaction

Class DocumentFormatConfiguration



  • public class DocumentFormatConfiguration
    extends Object

    Contains DocumentFormatInstance-derived class and file extension filter for fast format detection

    • Constructor Detail

      • DocumentFormatConfiguration

        public DocumentFormatConfiguration()

        Creates a new instance of DocumentFormatConfiguration

    • Method Detail

      • getExtensionFilter

        public final String getExtensionFilter()

        Comma (",") delimited list of file extensions (e.g. ".pdf"). Case insensitive

      • setExtensionFilter

        public final void setExtensionFilter(String value)

        Comma (",") delimited list of file extensions (e.g. ".pdf"). Case insensitive

      • getDocumentType

        public final Class getDocumentType()

        Type derived from DocumentFormatInstance

      • setDocumentType

        public final void setDocumentType(Class value)

        Type derived from DocumentFormatInstance

      • getInitializationData

        public final com.aspose.ms.System.Collections.Generic.Dictionary<String,String> getInitializationData()

        Contains any data, required for DocumentFormatInstance initialization

      • setInitializationData

        public final void setInitializationData(com.aspose.ms.System.Collections.Generic.Dictionary<String,String> value)

        Contains any data, required for DocumentFormatInstance initialization

      • supportsExtension

        public final boolean supportsExtension(String fileExtension)

        Checks if given file extension can be handled as DocumentType

        Parameters:
        fileExtension - File extension, format is ".ext"
        Returns:
        True if the extension is listed in ExtensionFilter