Class FilterByFileContentType.Settings

  • All Implemented Interfaces:
    io.annot8.api.settings.Settings
    Enclosing class:
    FilterByFileContentType

    public static class FilterByFileContentType.Settings
    extends Object
    implements io.annot8.api.settings.Settings
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • validate

        public boolean validate()
        Specified by:
        validate in interface io.annot8.api.settings.Settings
      • getContentTypes

        @Description("The list of content types")
        public List<com.j256.simplemagic.ContentType> getContentTypes()
      • setContentTypes

        public void setContentTypes​(List<com.j256.simplemagic.ContentType> contentTypes)
      • isFilterMatchingContentTypes

        @Description("If true, then matching content types will be removed. If false, matching content types will be kept.")
        public boolean isFilterMatchingContentTypes()
      • setFilterMatchingContentTypes

        public void setFilterMatchingContentTypes​(boolean filterMatchingContentTypes)
      • isFilterNullContentTypes

        @Description("If true, then remove content where we can\'t detect the content type.")
        public boolean isFilterNullContentTypes()
      • setFilterNullContentTypes

        public void setFilterNullContentTypes​(boolean filterNullContentTypes)