Tabnine Logo
CommandLine$Model$ParserSpec.atFileCommentChar
Code IndexAdd Tabnine to your IDE (free)

How to use
atFileCommentChar
method
in
picocli.CommandLine$Model$ParserSpec

Best Java code snippets using picocli.CommandLine$Model$ParserSpec.atFileCommentChar (Showing top 7 results out of 315)

origin: remkop/picocli

private void printParser(ParserSpec parser, PrintWriter pw, String indent) {
  pw.printf("%sParserSpec:%n", indent);
  indent += "  ";
  pw.printf("%sseparator: '%s'%n", indent, parser.separator());
  pw.printf("%sendOfOptionsDelimiter: '%s'%n", indent, parser.endOfOptionsDelimiter());
  pw.printf("%sexpandAtFiles: %s%n", indent, parser.expandAtFiles());
  pw.printf("%satFileCommentChar: '%s'%n", indent, parser.atFileCommentChar());
  pw.printf("%soverwrittenOptionsAllowed: %s%n", indent, parser.overwrittenOptionsAllowed());
  pw.printf("%sunmatchedArgumentsAllowed: %s%n", indent, parser.unmatchedArgumentsAllowed());
  pw.printf("%sunmatchedOptionsArePositionalParams: %s%n", indent, parser.unmatchedOptionsArePositionalParams());
  pw.printf("%sstopAtUnmatched: %s%n", indent, parser.stopAtUnmatched());
  pw.printf("%sstopAtPositional: %s%n", indent, parser.stopAtPositional());
  pw.printf("%sposixClusteredShortOptionsAllowed: %s%n", indent, parser.posixClusteredShortOptionsAllowed());
  pw.printf("%saritySatisfiedByAttachedOptionParam: %s%n", indent, parser.aritySatisfiedByAttachedOptionParam());
  pw.printf("%scaseInsensitiveEnumValuesAllowed: %s%n", indent, parser.caseInsensitiveEnumValuesAllowed());
  pw.printf("%scollectErrors: %s%n", indent, parser.collectErrors());
  pw.printf("%slimitSplit: %s%n", indent, parser.limitSplit());
  pw.printf("%stoggleBooleanFlags: %s%n", indent, parser.toggleBooleanFlags());
}
origin: remkop/picocli

String token;
while ((token = reader.readLine()) != null) {
  if (token.length() > 0 && !token.trim().startsWith(String.valueOf(commandSpec.parser().atFileCommentChar()))) {
    addOrExpand(token, result, visited);
tok.quoteChar('"');
tok.quoteChar('\'');
if (commandSpec.parser().atFileCommentChar() != null) {
  tok.commentChar(commandSpec.parser().atFileCommentChar());
origin: remkop/picocli

/** Sets the character that starts a single-line comment or {@code null} if all content of argument files should
 * be interpreted as arguments (without comments).
 * If specified, all characters from the comment character to the end of the line are ignored.
 * @param atFileCommentChar the character that starts a single-line comment or {@code null}. The default is {@code '#'}.
 * @return this {@code CommandLine} object, to allow method chaining
 * @since 3.5 */
public CommandLine setAtFileCommentChar(Character atFileCommentChar) {
  getCommandSpec().parser().atFileCommentChar(atFileCommentChar);
  for (CommandLine command : getCommandSpec().subcommands().values()) {
    command.setAtFileCommentChar(atFileCommentChar);
  }
  return this;
}
origin: hazelcast/hazelcast-jet

String token;
while ((token = reader.readLine()) != null) {
  if (token.length() > 0 && !token.trim().startsWith(String.valueOf(commandSpec.parser().atFileCommentChar()))) {
    addOrExpand(token, result, visited);
tok.quoteChar('"');
tok.quoteChar('\'');
if (commandSpec.parser().atFileCommentChar() != null) {
  tok.commentChar(commandSpec.parser().atFileCommentChar());
origin: hazelcast/hazelcast-jet

/** Sets the character that starts a single-line comment or {@code null} if all content of argument files should
 * be interpreted as arguments (without comments).
 * If specified, all characters from the comment character to the end of the line are ignored.
 * @param atFileCommentChar the character that starts a single-line comment or {@code null}. The default is {@code '#'}.
 * @return this {@code CommandLine} object, to allow method chaining
 * @since 3.5 */
public CommandLine setAtFileCommentChar(Character atFileCommentChar) {
  getCommandSpec().parser().atFileCommentChar(atFileCommentChar);
  for (CommandLine command : getCommandSpec().subcommands().values()) {
    command.setAtFileCommentChar(atFileCommentChar);
  }
  return this;
}
origin: hazelcast/hazelcast-jet

/** Returns the character that starts a single-line comment or {@code null} if all content of argument files should
 * be interpreted as arguments (without comments).
 * If specified, all characters from the comment character to the end of the line are ignored.
 * @return the character that starts a single-line comment or {@code null}. The default is {@code '#'}.
 * @since 3.5 */
public Character getAtFileCommentChar() { return getCommandSpec().parser().atFileCommentChar(); }
origin: remkop/picocli

/** Returns the character that starts a single-line comment or {@code null} if all content of argument files should
 * be interpreted as arguments (without comments).
 * If specified, all characters from the comment character to the end of the line are ignored.
 * @return the character that starts a single-line comment or {@code null}. The default is {@code '#'}.
 * @since 3.5 */
public Character getAtFileCommentChar() { return getCommandSpec().parser().atFileCommentChar(); }
picocliCommandLine$Model$ParserSpecatFileCommentChar

Popular methods of CommandLine$Model$ParserSpec

  • separator
  • aritySatisfiedByAttachedOptionParam
  • caseInsensitiveEnumValuesAllowed
  • collectErrors
  • limitSplit
  • posixClusteredShortOptionsAllowed
  • unmatchedOptionsArePositionalParams
  • splitQuotedStrings
  • trimQuotes
  • useSimplifiedAtFiles
  • endOfOptionsDelimiter
  • expandAtFiles
  • endOfOptionsDelimiter,
  • expandAtFiles,
  • overwrittenOptionsAllowed,
  • stopAtPositional,
  • stopAtUnmatched,
  • toggleBooleanFlags,
  • unmatchedArgumentsAllowed,
  • <init>,
  • initFrom

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ImageIO (javax.imageio)
  • Reference (javax.naming)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now