DefaultValue (JSAP: the Java Simple Argument Parser)
Keywords: com.martiansoftware.jsap.ant.DefaultValue class

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

## com.martiansoftware.jsap.ant
Class DefaultValue

    java.lang.Object
      com.martiansoftware.jsap.ant.DefaultValue

    public class DefaultValue

extends Object

Provides a means of specifying default values for the jsap task containing <default> elements. For detailed information on using the jsap task, see the documentation for JSAPAntTask.

Author:
  Marty Lamb
See Also:
  `JSAPAntTask`

Constructor Summary
`DefaultValue()`

Method Summary
`void` | `addText(String text)` Sets the default value.
`String` | `getValue()` Returns the default value.

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

Constructor Detail

### DefaultValue

    public DefaultValue()

Method Detail

### addText

    public void addText(String text)

  Sets the default value.

  Parameters:
    `text` - the default value.

### getValue

    public String getValue()

  Returns the default value.

  Returns:
    the default value.

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

Copyright © 2002-2005, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap