|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.equinox.p2.metadata.expression.SimplePattern
public class SimplePattern
A simple compiled pattern. It supports two kinds of wildcards. The '*' (any character zero to many times) and the '?' (any character exactly one time).
| Method Summary | |
|---|---|
int |
compareTo(SimplePattern o)
|
static SimplePattern |
compile(String pattern)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
isMatch(CharSequence value)
Matches the value with the compiled expression. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isMatch(CharSequence value)
value with the compiled expression. The value
is considered matching if all characters are matched by the expression. A
partial match is not enough.
value - The value to match
true if the value was a match.public String toString()
toString in class Objectpublic int compareTo(SimplePattern o)
compareTo in interface Comparable<SimplePattern>public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static SimplePattern compile(String pattern)
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.