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.jfr.jmod - JFR Module
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module.
JDK 11 JFR module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jfr.jmod.
JDK 11 JFR module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JFR module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jfr.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/jfr/internal/cmd/StructuredWriter.java
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.jfr.internal.cmd; import java.io.PrintWriter; abstract class StructuredWriter { private final static String LINE_SEPARATOR = String.format("%n"); private final PrintWriter out; private final StringBuilder builder = new StringBuilder(4000); private char[] indentionArray = new char[0]; private int indent = 0; private int column; StructuredWriter(PrintWriter p) { out = p; } final protected int getColumn() { return column; } // Flush to print writer public final void flush() { out.print(builder.toString()); builder.setLength(0); } final public void printIndent() { builder.append(indentionArray, 0, indent); column += indent; } final public void println() { builder.append(LINE_SEPARATOR); column = 0; } final public void print(String... texts) { for (String text : texts) { print(text); } } final public void printAsString(Object o) { print(String.valueOf(o)); } final public void print(String text) { builder.append(text); column += text.length(); } final public void print(char c) { builder.append(c); column++; } final public void print(int value) { print(String.valueOf(value)); } final public void indent() { indent += 2; updateIndent(); } final public void retract() { indent -= 2; updateIndent(); } final public void println(String text) { print(text); println(); } private void updateIndent() { if (indent > indentionArray.length) { indentionArray = new char[indent]; for (int i = 0; i < indentionArray.length; i++) { indentionArray[i] = ' '; } } } }
⏎ jdk/jfr/internal/cmd/StructuredWriter.java
Or download all of them as a single archive file:
File name: jdk.jfr-11.0.1-src.zip File size: 237632 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jlink.jmod - JLink Tool
2020-06-30, 44115👍, 0💬
Popular Posts:
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
JDK 11 java.compiler.jmod is the JMOD file for JDK 11 Compiler module. JDK 11 Compiler module compil...
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...
JRE 8 deploy.jar is the JAR file for JRE 8 Java Control Panel and other deploy tools. JRE (Java Runt...