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

## com.pietschy.command.configuration
Interface GroupMemberParser

All Known Implementing Classes:
  DefaultGroupMemberParser

    public interface GroupMemberParser

Defines a parser interface for group member specification strings. The interface has a single `parse(String, GroupBuilder)` method that takes a member list specification and a builder instance.

This interface is used while loading configuration and when ever `CommandGroup.setMemberListSpec(String)` is called. The default implementation can be configured via `Defaults.setGroupMemberParser(GroupMemberParser)`.

See Also:
  `Defaults.setGroupMemberParser(GroupMemberParser)`, `DefaultGroupMemberParser`

Method Summary
`void` | `parse(java.lang.String memberListSpec, GroupBuilder builder)` Invoked to parse the specified member spec and build the group accordingly.

Method Detail

### parse

    void parse(java.lang.String memberListSpec,
               GroupBuilder builder)
               throws ParseException

  Invoked to parse the specified member spec and build the group accordingly.

  Parameters:
    `memberListSpec` - the member spec.
    `builder` - the builder to use.
  Throws:
    `ParseException` - if the member spec was invalid.

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

Copyright © 2006 - 2007 Andrew Pietsch