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.jdeps.jmod - JDeps Tool
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" command.
JDK 11 JDeps tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jdeps.jmod.
JDK 11 JDeps tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JDeps tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jdeps.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/jdeprscan/CSV.java
/* * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.jdeprscan; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; /** * Utility class for manipulating comma-separated-value (CSV) data. */ public class CSV { static String quote(String input) { String result; boolean needQuote = input.contains(","); if (input.contains("\"")) { needQuote = true; result = input.replace("\"", "\"\""); } else { result = input; } if (needQuote) { return "\"" + result + "\""; } else { return result; } } /** * Writes the objects' string representations to the output as a line of CSV. * The objects are converted to String, quoted if necessary, joined with commas, * and are written to the output followed by the line separator string. * * @param out the output destination * @param objs the objects to write */ public static void write(PrintStream out, Object... objs) { out.println(Arrays.stream(objs) .map(Object::toString) .map(CSV::quote) .collect(Collectors.joining(","))); } /** * The CSV parser state. */ enum State { START_FIELD, // the start of a field IN_FIELD, // within an unquoted field IN_QFIELD, // within a quoted field END_QFIELD // after the end of a quoted field } /** * Splits an input line into a list of strings, handling quoting. * * @param input the input line * @return the resulting list of strings */ public static List<String> split(String input) { List<String> result = new ArrayList<>(); StringBuilder cur = new StringBuilder(); State state = State.START_FIELD; for (int i = 0; i < input.length(); i++) { char ch = input.charAt(i); switch (ch) { case ',': switch (state) { case IN_QFIELD: cur.append(','); break; default: result.add(cur.toString()); cur.setLength(0); state = State.START_FIELD; break; } break; case '"': switch (state) { case START_FIELD: state = State.IN_QFIELD; break; case IN_QFIELD: state = State.END_QFIELD; break; case IN_FIELD: throw new CSVParseException("unexpected quote", input, i); case END_QFIELD: cur.append('"'); state = State.IN_QFIELD; break; } break; default: switch (state) { case START_FIELD: state = State.IN_FIELD; break; case IN_FIELD: case IN_QFIELD: break; case END_QFIELD: throw new CSVParseException("extra character after quoted string", input, i); } cur.append(ch); break; } } if (state == State.IN_QFIELD) { throw new CSVParseException("unclosed quote", input, input.length()); } result.add(cur.toString()); return result; } }
⏎ com/sun/tools/jdeprscan/CSV.java
Or download all of them as a single archive file:
File name: jdk.jdeps-11.0.1-src.zip File size: 244145 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jdi.jmod - JDI Tool
2020-07-07, 36982👍, 0💬
Popular Posts:
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open s...