Module io.annot8.components.files
Class FilterByFileContentType.Settings
- java.lang.Object
-
- io.annot8.components.files.processors.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 Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.j256.simplemagic.ContentType>getContentTypes()booleanisFilterMatchingContentTypes()booleanisFilterNullContentTypes()voidsetContentTypes(List<com.j256.simplemagic.ContentType> contentTypes)voidsetFilterMatchingContentTypes(boolean filterMatchingContentTypes)voidsetFilterNullContentTypes(boolean filterNullContentTypes)booleanvalidate()
-
-
-
Method Detail
-
validate
public boolean validate()
- Specified by:
validatein interfaceio.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)
-
-