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 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/doclets/formats/html/IndexRedirectWriter.java
/* * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.javadoc.internal.doclets.formats.html; import java.util.Collections; import jdk.javadoc.internal.doclets.formats.html.markup.Head; import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder; import jdk.javadoc.internal.doclets.formats.html.markup.HtmlAttr; import jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument; import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle; import jdk.javadoc.internal.doclets.formats.html.markup.TagName; import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree; import jdk.javadoc.internal.doclets.formats.html.markup.Script; import jdk.javadoc.internal.doclets.formats.html.markup.Text; import jdk.javadoc.internal.doclets.toolkit.Content; import jdk.javadoc.internal.doclets.toolkit.util.DocFile; import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException; import jdk.javadoc.internal.doclets.toolkit.util.DocPath; import jdk.javadoc.internal.doclets.toolkit.util.DocPaths; /** * Writes a file that tries to redirect to an alternate page. * The redirect uses JavaScript, if enabled, falling back on * {@code <meta http-equiv=refresh content="0,<uri>">}. * If neither are supported/enabled in a browser, the page displays the * standard "JavaScript not enabled" message, and a link to the alternate page. */ public class IndexRedirectWriter extends HtmlDocletWriter { public static void generate(HtmlConfiguration configuration) throws DocFileIOException { generate(configuration, DocPaths.INDEX, configuration.topFile); } public static void generate(HtmlConfiguration configuration, DocPath fileName, DocPath target) throws DocFileIOException { IndexRedirectWriter indexRedirect = new IndexRedirectWriter(configuration, fileName, target); indexRedirect.generateIndexFile(); } private DocPath target; private IndexRedirectWriter(HtmlConfiguration configuration, DocPath filename, DocPath target) { super(configuration, filename); this.target = target; } /** * Generate an index file that redirects to an alternate file. * @throws DocFileIOException if there is a problem generating the file */ private void generateIndexFile() throws DocFileIOException { Head head = new Head(path, configuration.getDocletVersion(), configuration.startTime) .setTimestamp(!options.noTimestamp()) .setDescription("index redirect") .setGenerator(getGenerator(getClass())) .setStylesheets(configuration.getMainStylesheet(), Collections.emptyList()) // avoid reference to default stylesheet .addDefaultScript(false); String title = (options.windowTitle().length() > 0) ? options.windowTitle() : resources.getText("doclet.Generated_Docs_Untitled"); head.setTitle(title) .setCharset(options.charset()) .setCanonicalLink(target); String targetPath = target.getPath(); Script script = new Script("window.location.replace(") .appendStringLiteral(targetPath, '\'') .append(")"); HtmlTree metaRefresh = new HtmlTree(TagName.META) .put(HtmlAttr.HTTP_EQUIV, "Refresh") .put(HtmlAttr.CONTENT, "0;" + targetPath); head.addContent(script.asContent(), HtmlTree.NOSCRIPT(metaRefresh)); ContentBuilder bodyContent = new ContentBuilder(); bodyContent.add(HtmlTree.NOSCRIPT( HtmlTree.P(contents.getContent("doclet.No_Script_Message")))); bodyContent.add(HtmlTree.P(HtmlTree.A(targetPath, Text.of(targetPath)))); Content body = new HtmlTree(TagName.BODY).setStyle(HtmlStyle.indexRedirectPage); HtmlTree main = HtmlTree.MAIN(bodyContent); body.add(main); HtmlDocument htmlDocument = new HtmlDocument( HtmlTree.HTML(configuration.getLocale().getLanguage(), head, body)); htmlDocument.write(DocFile.createFileForOutput(configuration, path)); } }
⏎ jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.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, 6988👍, 0💬
Popular Posts:
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...