Statics§
Functions§
- create_
input_ reader - Creates a reader from a string identifier.
Both
None
andSome("-")
mean stdin. - create_
input_ reader_ description - Returns “stdin” if that is denoted,
file: '<FILE-NAME>'
otherwise. This might be useful for logging. - create_
input_ reader_ file - Creates a reader from a file-path.
See
create_input_reader
. - create_
input_ reader_ stdin - Creates a reader that reads from stdin.
See
create_input_reader
. - create_
output_ writer - Creates a writer from a string identifier.
Both
None
andSome("-")
mean stdout. See also:write_to_file
- create_
output_ writer_ description - Returns “stdout” if that is denoted,
file: '<FILE-NAME>'
otherwise. This might be useful for logging. - create_
output_ writer_ file - Creates a writer that writes to a file.
See
create_output_writer
. - create_
output_ writer_ stdout - Creates a writer that writes to stdout.
See
create_output_writer
. - denotes_
std_ stream - Figures out whether the given input or output specifier
indicates a standard stream (stdin or stdout),
or rather a file-path.
Both
None
andSome("-")
mean stdin/stdout. - lines_
iterator - Creates a line iterator (“
Iterator<String>
”) from an input stream (BufRead
). - remove_
eol - Removes an EOL indicator from the end of the given string, if one is present. Removes either:
- write_
to_ file - Writes a list of strings to a file;
one per line.
See also:
create_output_writer