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.internal.le.jmod - Internal Line Editing Module
JDK 17 jdk.internal.le.jmod is the JMOD file for JDK 17 Internal Line Editing module.
JDK 17 Internal Line Editing module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.internal.le.jmod.
JDK 17 Internal Line Editing module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Internal Line Editing module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.internal.le.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/internal/org/jline/reader/LineReaderBuilder.java
/* * Copyright (c) 2002-2020, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * https://opensource.org/licenses/BSD-3-Clause */ package jdk.internal.org.jline.reader; import java.io.IOError; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Objects; import jdk.internal.org.jline.reader.impl.LineReaderImpl; import jdk.internal.org.jline.reader.impl.history.DefaultHistory; import jdk.internal.org.jline.terminal.Terminal; import jdk.internal.org.jline.terminal.TerminalBuilder; import jdk.internal.org.jline.utils.Log; public final class LineReaderBuilder { public static LineReaderBuilder builder() { return new LineReaderBuilder(); } Terminal terminal; String appName; Map<String, Object> variables = new HashMap<>(); Map<LineReader.Option, Boolean> options = new HashMap<>(); History history; Completer completer; History memoryHistory; Highlighter highlighter; Parser parser; Expander expander; CompletionMatcher completionMatcher; private LineReaderBuilder() { } public LineReaderBuilder terminal(Terminal terminal) { this.terminal = terminal; return this; } public LineReaderBuilder appName(String appName) { this.appName = appName; return this; } public LineReaderBuilder variables(Map<String, Object> variables) { Map<String, Object> old = this.variables; this.variables = Objects.requireNonNull(variables); this.variables.putAll(old); return this; } public LineReaderBuilder variable(String name, Object value) { this.variables.put(name, value); return this; } public LineReaderBuilder option(LineReader.Option option, boolean value) { this.options.put(option, value); return this; } public LineReaderBuilder history(History history) { this.history = history; return this; } public LineReaderBuilder completer(Completer completer) { this.completer = completer; return this; } public LineReaderBuilder highlighter(Highlighter highlighter) { this.highlighter = highlighter; return this; } public LineReaderBuilder parser(Parser parser) { if (parser != null) { try { if (!Boolean.getBoolean(LineReader.PROP_SUPPORT_PARSEDLINE) && !(parser.parse("", 0) instanceof CompletingParsedLine)) { Log.warn("The Parser of class " + parser.getClass().getName() + " does not support the CompletingParsedLine interface. " + "Completion with escaped or quoted words won't work correctly."); } } catch (Throwable t) { // Ignore } } this.parser = parser; return this; } public LineReaderBuilder expander(Expander expander) { this.expander = expander; return this; } public LineReaderBuilder completionMatcher(CompletionMatcher completionMatcher) { this.completionMatcher = completionMatcher; return this; } public LineReader build() { Terminal terminal = this.terminal; if (terminal == null) { try { terminal = TerminalBuilder.terminal(); } catch (IOException e) { throw new IOError(e); } } LineReaderImpl reader = new LineReaderImpl(terminal, appName, variables); if (history != null) { reader.setHistory(history); } else { if (memoryHistory == null) { memoryHistory = new DefaultHistory(); } reader.setHistory(memoryHistory); } if (completer != null) { reader.setCompleter(completer); } if (highlighter != null) { reader.setHighlighter(highlighter); } if (parser != null) { reader.setParser(parser); } if (expander != null) { reader.setExpander(expander); } if (completionMatcher != null) { reader.setCompletionMatcher(completionMatcher); } for (Map.Entry<LineReader.Option, Boolean> e : options.entrySet()) { reader.option(e.getKey(), e.getValue()); } return reader; } }
⏎ jdk/internal/org/jline/reader/LineReaderBuilder.java
Or download all of them as a single archive file:
File name: jdk.internal.le-17.0.5-src.zip File size: 231458 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.internal.opt.jmod - Internal Opt Module
⇐ JDK 17 jdk.internal.jvmstat.jmod - Internal JVM Stat Module
2023-08-25, 3995👍, 0💬
Popular Posts:
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
Java Advanced Imaging (JAI) is a Java platform extension API that provides a set of object-oriented ...
Saxon is an open source product available under the Mozilla Public License. It provides implementati...