| Package | Description |
|---|---|
| net.morimekta.console.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
Parser.DirParser
A converter to file instances, with validator & error message.
|
static class |
Parser.DoubleParser
A converter to double values.
|
static class |
Parser.EnumParser<E extends Enum<E>>
A converter to enum constant values.
|
static class |
Parser.FileParser
A converter to file instances, with validator & error message.
|
static class |
Parser.IntegerParser
A converter to integer values.
|
static class |
Parser.LongParser
A converter to long values.
|
static class |
Parser.OutputDirParser
A converter to file instances, with validator & error message.
|
static class |
Parser.OutputFileParser
A converter to file instances, with validator & error message.
|
static class |
Parser.PathParser
A converter to path values.
|
| Modifier and Type | Method and Description |
|---|---|
static Parser<Double> |
Parser.dbl()
Make a double parser.
|
static Parser<File> |
Parser.dir()
Make a file parser that refers to an existing directory.
|
static Parser<File> |
Parser.file()
Make a file parser that refers to an existing file.
|
static Parser<Integer> |
Parser.i32()
Make a 32-bit integer parser.
|
static Parser<Long> |
Parser.i64()
Make a 64-bit integer parser.
|
static <E extends Enum<E>> |
Parser.oneOf(Class<E> klass)
Make an enum value parsing consumer.
|
static Parser<File> |
Parser.outputDir()
Make a parser that refers either to a non-existing entry or an
existing directory, but not a file or special device.
|
static Parser<File> |
Parser.outputFile()
Make a file parser that refers either to a non-existing entry or an
existing file, but not a directory or special device.
|
static Parser<Path> |
Parser.path()
Make a parser that parses a path.
|
Copyright © 2016. All rights reserved.