Package ru.ispras.microtesk.tools
Class ToolUtils
- java.lang.Object
-
- ru.ispras.microtesk.tools.ToolUtils
-
public class ToolUtils extends java.lang.Object
TheToolUtils
class provides utility methods for tools to interact with the environment.
-
-
Constructor Summary
Constructors Constructor Description ToolUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFinalInstruction(Options options)
static java.lang.String
getOutDir(java.lang.String pathOutDir)
static java.lang.String
getOutDir(Options options)
static java.lang.String
getOutDir(Options options, java.lang.String outDirName)
static Model
loadModel(java.lang.String modelName)
Returns theModel
.
-
-
-
Method Detail
-
loadModel
public static Model loadModel(java.lang.String modelName)
Returns theModel
.- Parameters:
modelName
- the model name.- Returns:
- the
Model
.
-
getOutDir
public static java.lang.String getOutDir(Options options)
-
getOutDir
public static java.lang.String getOutDir(Options options, java.lang.String outDirName)
-
getFinalInstruction
public static java.lang.String getFinalInstruction(Options options)
-
getOutDir
public static java.lang.String getOutDir(java.lang.String pathOutDir)
-
-