public interface PrologConsole
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArguments(String[] args)
Create a arguments map from a given string arguments array.
|
void |
printUsage()
Used to print console usage.
|
void |
run(String[] args)
Command line interface program run method for this platform.
|
Map<String,String> getArguments(String[] args)
args
- string arguments arrayvoid run(String[] args)
Command line interface program run method for this platform. Take the program arguments from main entry point and execute the job. Used like:
public class ANYPrologConsole extends AbstractConsole implements PrologConsole { public static void main(String[] args) { new ANYPrologConsole().run(args); } }
args
- command line interface program arguments arrayvoid printUsage()
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.