org.utgenome.shell
Class UTGBShell

java.lang.Object
  extended by org.utgenome.shell.UTGBShell

public class UTGBShell
extends Object

A command line client entry point

Author:
leo

Nested Class Summary
static class UTGBShell.UTGBShellOption
           
 
Constructor Summary
UTGBShell()
           
 
Method Summary
static String getProgramInfo()
           
static Set<String> getSubCommandNameSet()
           
static String getVersion()
           
static void main(String[] args)
          Run UTGB Shell command.
static void runCommand(String argLine)
          Run UTGB Shell commands
static void runCommand(String[] args)
          Run UTGB Shell commands
static void runCommand(UTGBShell.UTGBShellOption opt, String argLine)
           
static void runCommand(UTGBShell.UTGBShellOption opt, String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTGBShell

public UTGBShell()
Method Detail

getSubCommandNameSet

public static Set<String> getSubCommandNameSet()

runCommand

public static void runCommand(String argLine)
                       throws Exception
Run UTGB Shell commands

Parameters:
args -
Throws:
Exception

runCommand

public static void runCommand(UTGBShell.UTGBShellOption opt,
                              String argLine)
                       throws Exception
Throws:
Exception

runCommand

public static void runCommand(UTGBShell.UTGBShellOption opt,
                              String[] args)
                       throws Exception
Throws:
Exception

runCommand

public static void runCommand(String[] args)
                       throws Exception
Run UTGB Shell commands

Parameters:
args -
Throws:
Exception

main

public static void main(String[] args)
Run UTGB Shell command. This method will terminates JVM with return code -1 when some error is observed. Thus, to invoke UTGB Shell command inside the Java program, use runCommand(String[]) method, which does not terminate the JVM.

Parameters:
args -

getProgramInfo

public static String getProgramInfo()

getVersion

public static String getVersion()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.