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 jdk.zipfs.jmod - ZIP FS Module
JDK 11 jdk.zipfs.jmod is the JMOD file for JDK 11 ZIP FS module.
JDK 11 ZIP FS module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.zipfs.jmod.
JDK 11 ZIP FS module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 ZIP FS module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.zipfs.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/nio/zipfs/JarFileSystemProvider.java
/* * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.nio.zipfs; import java.nio.file.*; import java.nio.file.spi.*; import java.nio.file.attribute.*; import java.nio.file.spi.FileSystemProvider; import java.net.URI; import java.io.IOException; import java.net.URISyntaxException; import java.nio.channels.FileChannel; import java.util.HashMap; import java.util.Map; import java.util.Set; class JarFileSystemProvider extends ZipFileSystemProvider { @Override public String getScheme() { return "jar"; } @Override protected Path uriToPath(URI uri) { String scheme = uri.getScheme(); if ((scheme == null) || !scheme.equalsIgnoreCase(getScheme())) { throw new IllegalArgumentException("URI scheme is not '" + getScheme() + "'"); } try { String uristr = uri.toString(); int end = uristr.indexOf("!/"); uristr = uristr.substring(4, (end == -1) ? uristr.length() : end); uri = new URI(uristr); return Paths.get(new URI("file", uri.getHost(), uri.getPath(), null)) .toAbsolutePath(); } catch (URISyntaxException e) { throw new AssertionError(e); //never thrown } } @Override public Path getPath(URI uri) { FileSystem fs = getFileSystem(uri); String path = uri.getFragment(); if (path == null) { String uristr = uri.toString(); int off = uristr.indexOf("!/"); if (off != -1) path = uristr.substring(off + 2); } if (path != null) return fs.getPath(path); throw new IllegalArgumentException("URI: " + uri + " does not contain path fragment ex. jar:///c:/foo.zip!/BAR"); } }
⏎ jdk/nio/zipfs/JarFileSystemProvider.java
Or download all of them as a single archive file:
File name: jdk.zipfs-11.0.1-src.zip File size: 44582 bytes Release date: 2018-11-04 Download
2019-12-02, 8036👍, 0💬
Popular Posts:
Apache Ant is a Java-based build tool. In theory, it is kind of like make, without make's wrinkles. ...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is junit-3.8.1.jar? junit-3.8.1.jar is the version 3.8.1 of JUnit JAR library file. JUnit is a ...
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...