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, 37417👍, 0💬
Popular Posts:
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module. JDK 17 Desktop module compiled ...