java.lang.Object
coneforest.psylla.runtime.Psylla
The Psylla interpreter launcher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjoin()voidjoin(long millis) static Psyllalaunch(PrintStream outputStream, PrintStream errorStream, String... args) static Psyllalaunch(PrintWriter outputWriter, PrintWriter errorWriter, String... args) Process command-line options and launches the Psylla interpreter.static voidThe entry point to the Psylla program.static voidsetConsoleEncoding(String consoleEncoding) static voidvoidstart()
-
Constructor Details
-
Psylla
- Throws:
PsyErrorException
-
-
Method Details
-
main
The entry point to the Psylla program.- Parameters:
args- the command-line parameters.
-
launch
public static Psylla launch(PrintWriter outputWriter, PrintWriter errorWriter, String... args) throws PsyErrorException, coneforest.clianthus.processor.ProcessingException, FileNotFoundException Process command-line options and launches the Psylla interpreter.- Parameters:
outputWriter- the output writer.errorWriter- the error writer.args- the command-line options.- Returns:
- the
Psyllainstance launched. - Throws:
PsyErrorException- when TODOconeforest.clianthus.processor.ProcessingException- when TODOFileNotFoundException- when TODO
-
launch
public static Psylla launch(PrintStream outputStream, PrintStream errorStream, String... args) throws PsyErrorException, coneforest.clianthus.processor.ProcessingException, FileNotFoundException - Throws:
PsyErrorExceptionconeforest.clianthus.processor.ProcessingExceptionFileNotFoundException
-
setConsoleEncoding
-
setLocale
-
start
public void start() -
join
- Throws:
InterruptedException
-
join
- Throws:
InterruptedException
-