|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.webapp.ClasspathPattern
public class ClasspathPattern
ClasspathPattern performs sequential pattern matching of a class name against an internal array of classpath pattern entries. When an entry starts with '-' (minus), reverse matching is performed. When an entry ends with '.' (period), prefix matching is performed. When class is initialized from a classpath pattern string, entries in this string should be separated by ':' (semicolon) or ',' (comma).
| 构造方法摘要 | |
|---|---|
ClasspathPattern()
|
|
ClasspathPattern(String pattern)
|
|
ClasspathPattern(String[] patterns)
|
|
| 方法摘要 | |
|---|---|
void |
addPattern(String pattern)
Parse a classpath pattern string and appending the result to the existing configuration. |
String[] |
getPatterns()
|
boolean |
match(String name)
Match the class name against the pattern |
void |
setPattern(String pattern)
Initialize the matcher by parsing a classpath pattern string |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ClasspathPattern()
public ClasspathPattern(String[] patterns)
public ClasspathPattern(String pattern)
| 方法详细信息 |
|---|
public void setPattern(String pattern)
pattern - classpath pattern stringpublic void addPattern(String pattern)
pattern - classpath pattern stringpublic String[] getPatterns()
public boolean match(String name)
name - name of the class to match
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||