Groovy 2.2.1

org.codehaus.groovy.tools.shell.util
[Groovy] Class HelpFormatter

java.lang.Object
  org.apache.commons.cli.HelpFormatter
      org.codehaus.groovy.tools.shell.util.HelpFormatter

class HelpFormatter
extends HelpFormatter

Custom CLI help formatter to render things correctly.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
 
Fields inherited from class HelpFormatter
DEFAULT_WIDTH, DEFAULT_LEFT_PAD, DEFAULT_DESC_PAD, DEFAULT_SYNTAX_PREFIX, DEFAULT_OPT_PREFIX, DEFAULT_LONG_OPT_PREFIX, DEFAULT_ARG_NAME, defaultWidth, defaultLeftPad, defaultDescPad, defaultSyntaxPrefix, defaultNewLine, defaultOptPrefix, defaultLongOptPrefix, defaultArgName
 
Constructor Summary
HelpFormatter()

 
Method Summary
int getDefaultWidth()

protected StringBuffer renderOptions(StringBuffer sb, int width, Options options, int leftPad, int descPad)

 
Methods inherited from class HelpFormatter
getWidth, setWidth, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printHelp, printUsage, printUsage, setNewLine, setOptPrefix, setLeftPadding, getLeftPadding, setDescPadding, getDescPadding, setSyntaxPrefix, getSyntaxPrefix, getOptPrefix, setLongOptPrefix, getLongOptPrefix, getOptionComparator, setOptionComparator, printOptions, getNewLine, setArgName, printWrapped, printWrapped, getArgName, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

HelpFormatter

HelpFormatter()


 
Method Detail

getDefaultWidth

int getDefaultWidth()


renderOptions

protected StringBuffer renderOptions(StringBuffer sb, int width, Options options, int leftPad, int descPad)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.