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/doclet/Reporter.java
/*
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.javadoc.doclet;
import java.io.PrintWriter;
import java.util.Locale;
import javax.lang.model.element.Element;
import javax.tools.Diagnostic;
import javax.tools.FileObject;
import com.sun.source.util.DocTreePath;
/**
* Interface for reporting diagnostics and other messages.
*
* <p>Diagnostics consist of a {@link Diagnostic.Kind diagnostic kind} and a message,
* and may additionally be associated with an {@link Element element},
* a {@link DocTreePath tree node} in a documentation comment,
* or an arbitrary position in a given {@link FileObject file}.
* Other messages may be written directly to one of two streams that are informally
* for use by "standard output" and "diagnostic output", where "standard output"
* means the output that is the expected result of executing some operation,
* such as the command-line help that is generated when using a {@code --help} option,
* and "diagnostic output" refers to any errors, warnings and other output that is
* a side-effect of executing the operation.
*
* <p>The exact manner in which diagnostics are output is unspecified and depends
* on the enclosing context. For example:
* <ul>
* <li>The {@link javax.tools.DocumentationTool} API allows a client to specify a
* {@link javax.tools.DiagnosticListener} to which diagnostics will be
* {@link javax.tools.DiagnosticListener#report reported}. If no listener is specified,
* diagnostics will be written to a given stream, or to {@code System.err} if no such
* stream is provided.
* <li>The {@link java.util.spi.ToolProvider} API allows a client to specify
* the streams to be used for reporting standard and diagnostic output.
* </ul>
*
* @since 9
*/
public interface Reporter {
/**
* Prints a diagnostic message.
*
* @param kind the kind of diagnostic
* @param message the message to be printed
*/
void print(Diagnostic.Kind kind, String message);
/**
* Prints a diagnostic message related to a tree node in a documentation comment.
*
* @param kind the kind of diagnostic
* @param path the path for the tree node
* @param message the message to be printed
*/
void print(Diagnostic.Kind kind, DocTreePath path, String message);
/**
* Prints a diagnostic message related to an element.
*
* @param kind the kind of diagnostic
* @param element the element
* @param message the message to be printed
*/
void print(Diagnostic.Kind kind, Element element, String message);
/**
* Prints a diagnostic message related to a position within a range of characters in a file.
* The positions are all 0-based character offsets from the beginning of content of the file.
* The positions should satisfy the relation {@code start <= pos <= end}.
*
* @implSpec
* This implementation always throws {@code UnsupportedOperationException}.
* The implementation provided by the {@code javadoc} tool to
* {@link Doclet#init(Locale, Reporter) initialize} a doclet
* overrides this implementation.
*
* @param kind the kind of diagnostic
* @param file the file
* @param start the beginning of the enclosing range
* @param pos the position
* @param end the end of the enclosing range
* @param message the message to be printed
*
* @since 17
*/
default void print(Diagnostic.Kind kind, FileObject file, int start, int pos, int end, String message) {
throw new UnsupportedOperationException();
}
/**
* Returns a writer that can be used to write non-diagnostic output,
* or {@code null} if no such writer is available.
*
* @apiNote
* The value may or may not be the same as that returned by {@link #getDiagnosticWriter()}.
*
* @implSpec
* This implementation returns {@code null}.
* The implementation provided by the {@code javadoc} tool to
* {@link Doclet#init(Locale, Reporter) initialize} a doclet
* always returns a non-{@code null} value.
*
* @return the writer
* @since 17
*/
default PrintWriter getStandardWriter() {
return null;
}
/**
* Returns a writer that can be used to write diagnostic output,
* or {@code null} if no such writer is available.
*
* @apiNote
* The value may or may not be the same as that returned by {@link #getStandardWriter()}.
*
* @implSpec
* This implementation returns {@code null}.
* The implementation provided by the {@code javadoc} tool to
* {@link Doclet#init(Locale, Reporter) initialize} a doclet
* always returns a non-{@code null} value.
*
* @return the writer
* @since 17
*/
default PrintWriter getDiagnosticWriter() {
return null;
}
}
⏎ jdk/javadoc/doclet/Reporter.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, ≈80🔥, 0💬
Popular Posts:
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...