Lines Matching defs:file
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
28 import java.nio.file.Path;
29 import java.nio.file.spi.FileTypeDetector;
45 * Invokes the appropriate probe method to guess a file's content type,
49 public final String probeContentType(Path file) throws IOException {
50 if (file == null)
51 throw new NullPointerException("'file' is null");
52 String result = implProbeContentType(file);
57 * Probes the given file to guess its content type.
59 protected abstract String implProbeContentType(Path file)