| Constructor and Description |
|---|
PathPattern(PatternEntry[] entries,
EnumSet<PathOption> options) |
| Modifier and Type | Method and Description |
|---|---|
PatternEntry |
getEntry(int index) |
EnumSet<PathOption> |
getOptions() |
boolean |
matches(Path path) |
int |
size() |
String |
toString() |
public PathPattern(PatternEntry[] entries, EnumSet<PathOption> options)
entries - Entries, array will be copied to avoid state leakage.options - Option for patternpublic int size()
PatternEntryspublic PatternEntry getEntry(int index)
public boolean matches(Path path)
path - Path to match against.public EnumSet<PathOption> getOptions()
Copyright © 2010–2017. All rights reserved.