org.opensolaris.opengrok.index
Class CommandLineOptions

java.lang.Object
  extended by org.opensolaris.opengrok.index.CommandLineOptions

public class CommandLineOptions
extends java.lang.Object


Constructor Summary
CommandLineOptions()
           
 
Method Summary
 java.lang.String getCommandString()
           
 java.lang.String getCommandUsage(char c)
           
 java.lang.String getManPage()
           
 java.util.Iterator<org.opensolaris.opengrok.index.CommandLineOptions.Option> getOptionsIterator()
          Not intended for normal use, but for the JUnit test suite to validate that all options contains a description :-)
 java.lang.String getUsage()
           
static void main(java.lang.String[] argv)
          Print out a manual page on standard out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineOptions

public CommandLineOptions()
Method Detail

getCommandString

public java.lang.String getCommandString()

getCommandUsage

public java.lang.String getCommandUsage(char c)

getUsage

public java.lang.String getUsage()

getManPage

public java.lang.String getManPage()
                            throws java.io.IOException
Throws:
java.io.IOException

getOptionsIterator

public java.util.Iterator<org.opensolaris.opengrok.index.CommandLineOptions.Option> getOptionsIterator()
Not intended for normal use, but for the JUnit test suite to validate that all options contains a description :-)

Returns:
an iterator to iterate through all of the command line options

main

public static void main(java.lang.String[] argv)
Print out a manual page on standard out. Used for building manual page.

Parameters:
argv - argument vector. not used.