Uses of Class
de.xima.fc.security.malware.ExtensionCheck
-
Packages that use ExtensionCheck Package Description de.xima.fc.security.malware -
-
Uses of ExtensionCheck in de.xima.fc.security.malware
Methods in de.xima.fc.security.malware that return ExtensionCheck Modifier and Type Method Description ExtensionCheck
ExtensionCheck. setAllowUnknownTypes(boolean allowUnknownTypes)
Sets whether unknown types (undetected by the ContentTypeUtils or unknown to the context mime mapper) should be allowed or rejected.ExtensionCheck
ExtensionCheck. setContextMimeMapper(Function<String,String> contextMimeMapper)
Sets the mandatory MIME mapper used for comparing the MIME type detected by the ContentTypeUtils to the one suggested by the 'context' for the provided file name, e.g.ExtensionCheck
ExtensionCheck. setMimeNormalizer(IMimeNormalizer mimeNormalizer)
Sets an optional, use case dependent MIME type normalizer to handle different MIME types describing the same content (e.g.
-