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.jcmd.jmod - JCmd Tool
JDK 17 jdk.jcmd.jmod is the JMOD file for JDK 17 JCmd tool, which can be invoked by the "jcmd" command.
JDK 17 JCmd tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.jcmd.jmod.
JDK 17 JCmd tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 JCmd source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.jcmd.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/tools/jstat/ColumnFormat.java
/* * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.tools.jstat; import java.util.*; /** * A class to represent the format for a column of data. * * @author Brian Doherty * @since 1.5 */ public class ColumnFormat extends OptionFormat { private int number; private int width; private Alignment align = Alignment.CENTER; private Scale scale = Scale.RAW; private String format; private String header; private Expression expression; private boolean required = false; private Object previousValue; public ColumnFormat(int number) { super("Column" + number); this.number = number; } /* * method to apply various validation rules to the ColumnFormat object. */ public void validate() throws ParserException { // if we allow column spanning, then this method must change. it // should allow null data statments if (expression == null) { // current policy is that a data statement must be specified throw new ParserException("Missing data statement in column " + number); } if (header == null) { // current policy is that if a header is not specified, then we // will use the last component of the name as the header and // insert the default anchor characters for center alignment.. throw new ParserException("Missing header statement in column " + number); } if (format == null) { // if no formating is specified, then the format is set to output // the raw data. format="0"; } // Adjust required flag expression.setRequired(required); } public void setWidth(int width) { this.width = width; } public void setAlignment(Alignment align) { this.align = align; } public void setScale(Scale scale) { this.scale = scale; } public void setFormat(String format) { this.format = format; } public void setHeader(String header) { this.header = header; } public String getHeader() { return header; } public String getFormat() { return format; } public int getWidth() { return width; } public Alignment getAlignment() { return align; } public Scale getScale() { return scale; } public Expression getExpression() { return expression; } public void setExpression(Expression e) { this.expression = e; } public void setRequired(boolean r) { this.required = r; } public boolean isRequired() { return this.required; } public void setPreviousValue(Object o) { this.previousValue = o; } public Object getPreviousValue() { return previousValue; } public void printFormat(int indentLevel) { String indentAmount = " "; StringBuilder indent = new StringBuilder(""); for (int j = 0; j < indentLevel; j++) { indent.append(indentAmount); } System.out.println(indent + name + " {"); System.out.println(indent + indentAmount + "name=" + name + ";data=" + expression.toString() + ";header=" + header + ";format=" + format + ";width=" + width + ";scale=" + scale.toString() + ";align=" + align.toString() + ";required=" + required); for (Iterator<OptionFormat> i = children.iterator(); i.hasNext(); /* empty */) { OptionFormat of = i.next(); of.printFormat(indentLevel+1); } System.out.println(indent + "}"); } public String getValue() { return null; } }
⏎ sun/tools/jstat/ColumnFormat.java
Or download all of them as a single archive file:
File name: jdk.jcmd-17.0.5-src.zip File size: 51997 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.jconsole.jmod - JConsole Tool
2023-08-17, 2837👍, 0💬
Popular Posts:
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module. JDK 11 XML...
maven-settings-builder-3 .8.6.jaris the JAR file for Apache Maven 3.8.6 Settings Builder module. Apa...
commons-lang-1.0.1.jar is the JAR file for Apache Commons Lang 1.0.1, which provides a host of helpe...