Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.thaiopensource.util
Class OptionParser

    java.lang.Object
      com.thaiopensource.util.OptionParser

public class OptionParser
extends java.lang.Object

Nested Class Summary
`static class` | `OptionParser.InvalidOptionException`
`static class` | `OptionParser.MissingArgumentException`

Constructor Summary
`OptionParser(java.lang.String optionSpec, java.lang.String[] args)`

Method Summary
`java.lang.String` | `getOptionArg()`
`char` | `getOptionChar()`
`java.lang.String` | `getOptionCharString()`
`java.lang.String[]` | `getRemainingArgs()`
`static void` | `main(java.lang.String[] args)`
`boolean` | `moveToNextOption()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OptionParser

    public OptionParser(java.lang.String optionSpec,
                        java.lang.String[] args)

Method Detail

### getOptionChar

    public char getOptionChar()

### getOptionCharString

    public java.lang.String getOptionCharString()

### getOptionArg

    public java.lang.String getOptionArg()

### moveToNextOption

    public boolean moveToNextOption()
                             throws OptionParser.InvalidOptionException,
                                    OptionParser.MissingArgumentException

  Throws:
    `OptionParser.InvalidOptionException`
    `OptionParser.MissingArgumentException`

### getRemainingArgs

    public java.lang.String[] getRemainingArgs()

### main

    public static void main(java.lang.String[] args)

Overview | Package | Class | Tree | Deprecated | Index | Help
| oNVDL-20070517 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright SyncRO Soft SRL 2006-2007.