DefaultSource (JSAP: the Java Simple Argument Parser)
Keywords: com.martiansoftware.jsap.DefaultSource interface

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
Interface DefaultSource

All Known Implementing Classes:
  PropertyDefaultSource

    public interface DefaultSource

An interface describing an object as being able to produce a set of default values.

Author:
  Marty Lamb
See Also:
  `Defaults`

Method Summary
`Defaults` | `getDefaults(IDMap idMap, ExceptionMap exceptionMap)` Returns a set of default values given the configuration described by the specified IDMap.

Method Detail

### getDefaults

    Defaults getDefaults(IDMap idMap,
                         ExceptionMap exceptionMap)

  Returns a set of default values given the configuration described by the specified IDMap. Any encountered exceptions are stored in the specified JSAPResult.

  Parameters:
    `idMap` - an IDMap containing JSAP configuration information.
    `exceptionMap` - the ExceptionMap object within which any Exceptions will be returned.
  Returns:
    a set of default values given the configuration described by the specified IDMap.
  See Also:
    `ExceptionMap.addException(String,Exception)`

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