org.utgenome.shell
Class Create
java.lang.Object
org.utgenome.core.cui.UTGBCommandBase
org.utgenome.shell.UTGBShellCommandBase
org.utgenome.shell.UTGBShellCommand
org.utgenome.shell.Create
- All Implemented Interfaces:
- Comparable<org.xerial.util.opt.Command>, org.xerial.util.opt.Command
public class Create
- extends UTGBShellCommand
Create sub command
- Author:
- leo
Methods inherited from class org.utgenome.shell.UTGBShellCommand |
compareTo, createContextXML, createFileFromTemplate, createFileFromTemplate, execute, getConfigFile, getHelpMessageResource, getObsolteConfigurationFile, getOneLineDescription, getOptionHolder, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven, maven |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
answerYes
public boolean answerYes
Create
public Create()
execute
public void execute(String[] args)
throws Exception
- Specified by:
execute
in interface org.xerial.util.opt.Command
- Specified by:
execute
in class UTGBShellCommand
- Throws:
Exception
createScaffold
public static void createScaffold(UTGBConfig config,
String outputFolder,
Create.ScaffoldFileFilter generateFileFilter)
throws IOException,
UTGBShellException
- Throws:
IOException
UTGBShellException
mkdirs
public static void mkdirs(File dir)
- Create directories including its parent folders if not exist
- Parameters:
dir
-
name
public String name()
- Specified by:
name
in interface org.xerial.util.opt.Command
- Specified by:
name
in class UTGBShellCommand
getOneLinerDescription
public String getOneLinerDescription()
- Specified by:
getOneLinerDescription
in class UTGBShellCommand
Copyright © 2007-2012 utgenome.org. All Rights Reserved.