public class PatternBuilder extends Object
Constructor and Description |
---|
PatternBuilder()
Creates a new PatternBuilder
|
PatternBuilder(GroupBuilder gbuilder,
DefaultOptionBuilder obuilder,
ArgumentBuilder abuilder)
Creates a new PatternBuilder
|
Modifier and Type | Method and Description |
---|---|
Option |
create()
Creates a new Option instance.
|
PatternBuilder |
reset()
Resets this builder.
|
void |
withPattern(String pattern)
Builds an Option using a pattern string.
|
public PatternBuilder()
public PatternBuilder(GroupBuilder gbuilder, DefaultOptionBuilder obuilder, ArgumentBuilder abuilder)
gbuilder
- the GroupBuilder to useobuilder
- the DefaultOptionBuilder to useabuilder
- the ArgumentBuilder to usepublic PatternBuilder reset()
public void withPattern(String pattern)
pattern
- the pattern to build fromCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.