owltools.cli
Class CommandRunner.Opts

java.lang.Object
  extended by owltools.cli.CommandRunner.Opts
Enclosing class:
CommandRunner

public class CommandRunner.Opts
extends Object


Constructor Summary
CommandRunner.Opts(List<String> args)
           
CommandRunner.Opts(String[] args)
           
 
Method Summary
 void fail()
           
 boolean hasArgs()
           
 boolean hasOpt(String opt)
           
 boolean hasOpts()
           
 void info(String params, String desc)
           
 boolean nextArgIsHelp()
           
 boolean nextEq(Collection<String> eqs)
           
 boolean nextEq(String eq)
           
 String nextOpt()
           
 String peekArg()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRunner.Opts

public CommandRunner.Opts(String[] args)

CommandRunner.Opts

public CommandRunner.Opts(List<String> args)
Method Detail

hasArgs

public boolean hasArgs()

hasOpts

public boolean hasOpts()

nextEq

public boolean nextEq(String eq)

hasOpt

public boolean hasOpt(String opt)

nextEq

public boolean nextEq(Collection<String> eqs)

nextOpt

public String nextOpt()

peekArg

public String peekArg()

nextArgIsHelp

public boolean nextArgIsHelp()

fail

public void fail()

info

public void info(String params,
                 String desc)


Copyright © 2010-2011. All Rights Reserved.