public static class QueryPlus.DependenciesHelper extends Object
QueryPlus.Dependencies implementations for QueryPlus.| Constructor and Description |
|---|
DependenciesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static QueryPlus.Dependencies |
newInstance(PrintWriter writer,
InputStream inputStream,
CoherenceQueryLanguage language,
String[] asArgs)
Create a new instance of
QueryPlus.Dependencies. |
static void |
usage(PrintWriter writer)
Print the command line usage message to the specified writer.
|
public static QueryPlus.Dependencies newInstance(PrintWriter writer, InputStream inputStream, CoherenceQueryLanguage language, String[] asArgs)
QueryPlus.Dependencies.
If the JLine library is present on the classpath and the -nojline argument
is not passed in the asArgs array then the specified InputStream
will be wrapped in a jline.ConsoleReaderInputStream.
writer - the PrintWriter to use to display outputinputStream - the InputStream that will be used to supply input to QueryPlusasArgs - the command line arguments to use to configure the dependencieslanguage - the instance of {link CoherenceQueryLanguage} to be used by QueryPluspublic static void usage(PrintWriter writer)
writer - the PrintWriter to print the usage message to