public class PathPatternImpl extends Object implements PathPattern
| Modifier and Type | Class and Description |
|---|---|
static class |
PathPatternImpl.ManyNode |
static class |
PathPatternImpl.Node |
static class |
PathPatternImpl.OneNode |
static interface |
PathPatternImpl.PartMatchingNode
Denote a node that returns a part in the match result.
|
static class |
PathPatternImpl.SpecificAttribute |
static class |
PathPatternImpl.SpecificIndex |
PathPattern.Builder, PathPattern.MatchResult, PathPattern.Specs, PathPattern.Type| Modifier and Type | Field and Description |
|---|---|
static PathPattern |
EMPTY_PATTERN |
| Constructor and Description |
|---|
PathPatternImpl(PathPatternImpl.Node root,
int partCount) |
| Modifier and Type | Method and Description |
|---|---|
PathPattern.Specs |
getSpecs() |
PathPattern.MatchResult |
match(Path path)
Match a pattern against a name.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewBuilder, ofpublic static final PathPattern EMPTY_PATTERN
public PathPatternImpl(PathPatternImpl.Node root, int partCount)
public PathPattern.MatchResult match(Path path)
PathPatternmatch in interface PathPatternpublic PathPattern.Specs getSpecs()
getSpecs in interface PathPatternCopyright © 2016. All rights reserved.