- java.lang.Object
-
- org.asciidoctor.asciidoclet.AntPathMatcher.Builder
-
- Enclosing class:
- AntPathMatcher
public static final class AntPathMatcher.Builder extends Object
A builder class for
AndPathMatcher
. Is this class really necessary?
-
-
Constructor Summary
Constructors Constructor Description Builder()
CreatesAntPathMatcher.Builder
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntPathMatcher
build()
Creates and returnsAntPathMatcher
object.AntPathMatcher.Builder
withIgnoreCase()
SetsignoreCase
to this object totrue
.AntPathMatcher.Builder
withMatchStart()
SetsmatchStart
to this object totrue
.AntPathMatcher.Builder
withPathSeparator(char pathSeparator)
SetspathSeparator
to this object.AntPathMatcher.Builder
withTrimTokens()
SetstrimTokens
to this object totrue
.
-
-
-
Constructor Detail
-
Builder
public Builder()
Creates
AntPathMatcher.Builder
object.
-
-
Method Detail
-
withPathSeparator
public AntPathMatcher.Builder withPathSeparator(char pathSeparator)
Sets
pathSeparator
to this object.- Parameters:
pathSeparator
-pathSeparator
to be set.- Returns:
- returns this object.
-
withIgnoreCase
public AntPathMatcher.Builder withIgnoreCase()
Sets
ignoreCase
to this object totrue
.- Returns:
- returns this object.
-
withMatchStart
public AntPathMatcher.Builder withMatchStart()
Sets
matchStart
to this object totrue
.- Returns:
- returns this object.
-
withTrimTokens
public AntPathMatcher.Builder withTrimTokens()
Sets
trimTokens
to this object totrue
.- Returns:
- returns this object.
-
build
public AntPathMatcher build()
Creates and returns
AntPathMatcher
object.- Returns:
- A built
AntPathMatcher
object.
-
-