public class ParserUtil extends Object
Created by Jeff Gaynor
on 9/20/18 at 1:10 PM
Modifier and Type | Field and Description |
---|---|
static String |
BATCH_FILE_COMMENT_CHAR |
static String |
BATCH_FILE_LINE_TERMINATION |
Constructor and Description |
---|
ParserUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static List<String> |
processInput(Reader reader) |
static List<String> |
processInput(Reader reader,
boolean isStrict)
Takes a reader that contains a command file and returns a list of executable string.
|
public static String BATCH_FILE_COMMENT_CHAR
public static String BATCH_FILE_LINE_TERMINATION
public static void main(String[] args)
public static List<String> processInput(Reader reader) throws Throwable
Throwable
public static List<String> processInput(Reader reader, boolean isStrict) throws Throwable
AbstractHandler
that results from parsing. If the isStrict flag is true, then this will check if there were no terminators
and throw an exception if no commands were found.reader
- isStrict
- Throwable
Copyright © 2019. All Rights Reserved.