|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.pbemengine.engine.ng.tools.EnumToken
public class EnumToken
A Token matching any of a series of words
| Constructor Summary | |
|---|---|
EnumToken(boolean ignoreCase,
java.lang.String... words)
Creates a new instance of EnumToken |
|
| Method Summary | |
|---|---|
java.lang.Object |
match(LineParser p)
Sees if the given LineParser's content contains this token |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumToken(boolean ignoreCase,
java.lang.String... words)
ignoreCase - Set this to true if the parser should ignore
case sensitivitywords - The words that are valid possibilities for this token| Method Detail |
|---|
public java.lang.Object match(LineParser p)
match in interface Tokenp - The LineParser
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||