Class ConversionTool

  • All Implemented Interfaces:
    Tool

    @AutoService(Tool.class)
    public class ConversionTool
    extends Object
    implements Tool
    Author:
    Geoffroy Jamgotchian , Mathieu Bague
    • Constructor Detail

      • ConversionTool

        public ConversionTool()
    • Method Detail

      • createImportConfig

        protected ImportConfig createImportConfig()
      • createNetworkFactory

        protected NetworkFactory createNetworkFactory()
      • getCommand

        public Command getCommand()
        Description copied from interface: Tool
        Get the command of the tool.
        Specified by:
        getCommand in interface Tool
      • run

        public void run​(org.apache.commons.cli.CommandLine line,
                        ToolRunningContext context)
                 throws Exception
        Description copied from interface: Tool
        Run the tool.
        Specified by:
        run in interface Tool
        Parameters:
        line - the command line arguments
        context - tool execution context
        Throws:
        Exception - if the command fails