Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.base.jmod - Base Module
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module.
JDK 11 Base module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.base.jmod.
JDK 11 Base module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Base module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/nio/file/spi/FileTypeDetector.java
/* * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.nio.file.spi; import java.nio.file.Path; import java.io.IOException; /** * A file type detector for probing a file to guess its file type. * * <p> A file type detector is a concrete implementation of this class, has a * zero-argument constructor, and implements the abstract methods specified * below. * * <p> The means by which a file type detector determines the file type is * highly implementation specific. A simple implementation might examine the * <em>file extension</em> (a convention used in some platforms) and map it to * a file type. In other cases, the file type may be stored as a file <a * href="../attribute/package-summary.html"> attribute</a> or the bytes in a * file may be examined to guess its file type. * * @see java.nio.file.Files#probeContentType(Path) * * @since 1.7 */ public abstract class FileTypeDetector { private static Void checkPermission() { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new RuntimePermission("fileTypeDetector")); return null; } private FileTypeDetector(Void ignore) { } /** * Initializes a new instance of this class. * * @throws SecurityException * If a security manager has been installed and it denies * {@link RuntimePermission}{@code ("fileTypeDetector")} */ protected FileTypeDetector() { this(checkPermission()); } /** * Probes the given file to guess its content type. * * <p> The means by which this method determines the file type is highly * implementation specific. It may simply examine the file name, it may use * a file <a href="../attribute/package-summary.html">attribute</a>, * or it may examines bytes in the file. * * <p> The probe result is the string form of the value of a * Multipurpose Internet Mail Extension (MIME) content type as * defined by <a href="http://www.ietf.org/rfc/rfc2045.txt"><i>RFC 2045: * Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet * Message Bodies</i></a>. The string must be parsable according to the * grammar in the RFC 2045. * * @param path * the path to the file to probe * * @return The content type or {@code null} if the file type is not * recognized * * @throws IOException * An I/O error occurs * @throws SecurityException * If the implementation requires to access the file, and a * security manager is installed, and it denies an unspecified * permission required by a file system provider implementation. * If the file reference is associated with the default file system * provider then the {@link SecurityManager#checkRead(String)} method * is invoked to check read access to the file. * * @see java.nio.file.Files#probeContentType */ public abstract String probeContentType(Path path) throws IOException; }
⏎ java/nio/file/spi/FileTypeDetector.java
Or download all of them as a single archive file:
File name: java.base-11.0.1-src.zip File size: 8740354 bytes Release date: 2018-11-04 Download
2020-05-29, 204196👍, 0💬
Popular Posts:
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
What Is mail.jar of JavaMail 1.4? I got the JAR file from javamail-1_4.zip. mail.jar in javamail-1_4...