Uses of Class
de.xima.fc.security.malware.ExtensionCheck
Packages that use ExtensionCheck
-
Uses of ExtensionCheck in de.xima.fc.security.malware
Methods in de.xima.fc.security.malware that return ExtensionCheckModifier and TypeMethodDescriptionExtensionCheck.withAllowUnknownTypes
(boolean allowUnknownTypes) Sets whether unknown types (undetected by the ContentTypeUtils or unknown to the context mime mapper) should be allowed or rejected.ExtensionCheck.withExtensionToMimeTypeMapper
(Function<String, Set<String>> contextMimeMapper) Sets the required MIME mapper that finds possible content types for a given file name.ExtensionCheck.withMimeNormalizer
(Function<String, String> mimeNormalizer) Sets an optional, use case dependent MIME type normalizer to handle different MIME types describing the same content (e.g.