MCPcopy Create free account
hub / github.com/BaseXdb/basex / input

Method input

basex-core/src/main/java/org/basex/util/Util.java:91–94  ·  view source on GitHub ↗

Returns a single line from standard input. @return string

()

Source from the content-addressed store, hash-verified

89 * @return string
90 */
91 public static String input() {
92 final Scanner sc = new Scanner(System.in);
93 return sc.hasNextLine() ? sc.nextLine().trim() : "";
94 }
95
96 /**
97 * Returns a password from standard input.

Callers 3

initMethod · 0.95
passwordMethod · 0.95
atomicMethod · 0.45

Calls 1

trimMethod · 0.45

Tested by

no test coverage detected