List of usage examples for java.nio.file.spi FileTypeDetector subclass-usage
From source file com.github.rwhogg.git_vcr.BetterFileTypeDetector.java
/** * BetterFileTypeDetector detects file types using Brian White's mime.types file. */ public class BetterFileTypeDetector extends FileTypeDetector { /* typeMap is a mapping of file extensions to a single MIME-type (the first match we see)