public abstract class PathPattern extends Object
lib/myfile.jar
lib/*
, lib/*.rar
.
dir/*file*.jar
*dir/file.jar
Modifier and Type | Class and Description |
---|---|
static class |
PathPattern.CompositePattern |
static class |
PathPattern.ExactMatchPattern |
static class |
PathPattern.PrefixPattern |
static class |
PathPattern.SuffixPattern |
static class |
PathPattern.WildcardPattern |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
doMatch(String name)
Match the name of the given path.
|
org.jboss.virtual.VirtualFile |
findFile(org.jboss.virtual.VirtualFile root) |
String |
findFirstMatchingPath(org.jboss.virtual.VirtualFile root) |
PathPattern |
getNext() |
String |
getPath()
Get the determined part of the path.
|
boolean |
isExactMatch() |
boolean |
match(String name) |
static PathPattern |
parse(String pattern) |
void |
setNext(PathPattern next) |
public void setNext(PathPattern next)
public PathPattern getNext()
public boolean isExactMatch()
public String getPath()
public org.jboss.virtual.VirtualFile findFile(org.jboss.virtual.VirtualFile root) throws IOException
IOException
public String findFirstMatchingPath(org.jboss.virtual.VirtualFile root) throws IOException
IOException
public boolean match(String name)
public abstract boolean doMatch(String name)
public static PathPattern parse(String pattern)
Copyright © 2013 Nuxeo SA. All Rights Reserved.