Class ToolUtils


  • public class ToolUtils
    extends java.lang.Object
    The ToolUtils 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 the Model.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToolUtils

        public ToolUtils()
    • Method Detail

      • loadModel

        public static Model loadModel​(java.lang.String modelName)
        Returns the Model.
        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)