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

## org.basex.util
Class Args

    java.lang.Object
      org.basex.util.Args

    public final class Args

extends java.lang.Object

This class parses command-line arguments.

Author:
  Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Constructor Summary
`Args(java.lang.String[] a)` Default constructor.

Method Summary
`boolean` | `dash()` Checks if the current argument starts with a dash.
`boolean` | `more()` Checks if more arguments are available.
`char` | `next()` Returns the next character.
`java.lang.String` | `rest()` Returns the remaining string.
`java.lang.String` | `string()` Returns the next string.

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

Constructor Detail

### Args

    public Args(java.lang.String[] a)

  Default constructor.

  Parameters:
    `a` - arguments

Method Detail

### more

    public boolean more()

  Checks if more arguments are available.

  Returns:
    result of check

### dash

    public boolean dash()

  Checks if the current argument starts with a dash.

  Returns:
    result of check

### next

    public char next()

  Returns the next character.

  Returns:
    next character

### string

    public java.lang.String string()

  Returns the next string.

  Returns:
    string

### rest

    public java.lang.String rest()

  Returns the remaining string.

  Returns:
    remaining string

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