Class Jmt
java.lang.Object
jmt.commandline.Jmt
Entry point of the JMT application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidhelp()static voidstatic voidparseParameters(String[] args, int startIndex) Returns a map with option name as key and list of parameters as value.static voidprintDocument(Document doc, OutputStream out) static booleanstatic boolean
-
Constructor Details
-
Jmt
public Jmt()
-
-
Method Details
-
printDocument
public static void printDocument(Document doc, OutputStream out) throws IOException, TransformerException - Throws:
IOExceptionTransformerException
-
help
public static void help() -
copyFile
- Throws:
IOException
-
main
-
mva
public static void mva(File model, File result) throws InputDataException, SolverException, IOException -
sim
-
sim
-
parseParameters
Returns a map with option name as key and list of parameters as value. Parameter without options are saved with "" as key- Parameters:
args- command line argsstartIndex- the first index to consider in params- Returns:
- a map with option as key and
-