public class Shell extends Object
| Modifier and Type | Class | Description |
|---|---|---|
private class |
Shell.InputThread |
| Modifier and Type | Field | Description |
|---|---|---|
private Nar |
nar |
|
private PrintStream |
out |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
argInfo() |
|
static Nar |
createNar(String[] args) |
|
(package private) static void |
log(String message) |
logging
|
static void |
main(String[] args) |
The entry point of the standalone application.
|
void |
run(String[] args) |
non-static equivalent to
main(String[]) : finish to completion from an addInput file |
void |
setPrintStream(PrintStream out) |
private final Nar nar
private PrintStream out
public Shell(Nar n)
public static Nar createNar(String[] args) throws IOException, InstantiationException, InvocationTargetException, NoSuchMethodException, ParserConfigurationException, IllegalAccessException, SAXException, ClassNotFoundException, ParseException
public static void argInfo()
static void log(String message)
public static void main(String[] args) throws IOException, InstantiationException, InvocationTargetException, NoSuchMethodException, ParserConfigurationException, IllegalAccessException, SAXException, ClassNotFoundException, ParseException, InterruptedException
args - command line argumentsIOExceptionInstantiationExceptionInvocationTargetExceptionNoSuchMethodExceptionParserConfigurationExceptionIllegalAccessExceptionSAXExceptionClassNotFoundExceptionParseExceptionInterruptedExceptionpublic void run(String[] args)
main(String[]) : finish to completion from an addInput filepublic void setPrintStream(PrintStream out)
Copyright © 2020 OpenNARS. All rights reserved.