Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 17 jdk.javadoc.jmod - Java Document Tool
JDK 17 jdk.javadoc.jmod is the JMOD file for JDK 17 Java Document tool,
which can be invoked by the "javadoc" command.
JDK 17 Java Document tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.javadoc.jmod.
JDK 17 Java Document tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Java Document tool source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.javadoc.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/javadoc/internal/Versions.java
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.javadoc.internal;
import java.util.ResourceBundle;
import java.util.stream.Collectors;
import static java.util.ResourceBundle.getBundle;
public final class Versions {
private Versions() { throw new AssertionError(); }
/**
* Returns the version of the {@code javadoc} tool and the Standard doclet.
*
* <p> This is typically the same as the version of the JDK platform being
* used to run the tool, but may be different when running the tool on an
* older version of the platform.
*
* @throws RuntimeException in an unlikely event of the version info
* not being available
*
* @apiNote This method does not return {@code null}, has the return type of
* {@code Optional<Runtime.Version>}, or throw a checked exception. Those
* would warp the API to cater for something that is probably a result of
* a build error anyway. Hence, {@code RuntimeException}.
*
* @return the version
*/
public static Runtime.Version javadocVersion() throws RuntimeException {
/*
* The "jdk.javadoc.internal.tool.resources.version" resource bundle is
* non-localized and represented by a class compiled from a source like this:
*
* $ cat build/.../support/gensrc/jdk.javadoc/jdk/javadoc/internal/tool/resources/version.java
* package jdk.javadoc.internal.tool.resources;
*
* public final class version extends java.util.ListResourceBundle {
* protected final Object[][] getContents() {
* return new Object[][] {
* { "full", "15-internal+0-2020-06-02-1426246.duke..." },
* { "jdk", "15" },
* { "release", "15-internal" },
* };
* }
* }
*
* The string keyed by "full" should be parseable by Runtime.Version.parse()
*/
ResourceBundle bundle = getBundle("jdk.javadoc.internal.tool.resources.version");
return Runtime.Version.parse(bundle.getString("full"));
}
/**
* Returns a short string representation of the provided version.
*
* <p> The string contains the dotted representation of the version number,
* followed by the prerelease info, if any.
* For example, "15", "15.1", "15.0.1", "15-internal".
*
* @return a short string representation of the provided version
*
* @throws NullPointerException if {@code v == null}
*/
public static String shortVersionStringOf(Runtime.Version v) {
String svstr = v.version().stream()
.map(Object::toString)
.collect(Collectors.joining("."));
if (v.pre().isPresent()) {
svstr += "-" + v.pre().get();
}
return svstr;
}
/**
* Returns a full string representation of the provided version.
*
* <p> Examples of strings returned from this method are "14+36-1461" and
* "15-internal+0-2020-06-02-1426246.duke...".
*
* @return a full string representation of the provided version
*
* @throws NullPointerException if {@code v == null}
*/
public static String fullVersionStringOf(Runtime.Version v) {
return v.toString();
}
}
⏎ jdk/javadoc/internal/Versions.java
Or download all of them as a single archive file:
File name: jdk.javadoc-17.0.5-src.zip File size: 587730 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jcmd.jmod - JCmd Tool
2023-08-17, ≈49🔥, 0💬
Popular Posts:
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
JDK 17 jdk.xml.dom.jmod is the JMOD file for JDK 17 XML DOM module. JDK 17 XML DOM module compiled c...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...