|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.pbemengine.engine.ng.tools.SuffixToken
public class SuffixToken
A Token that consists of a sequence of numeric characters followed by a non-numeric one
| Constructor Summary | |
|---|---|
SuffixToken()
Creates a new instance of SuffixToken |
|
SuffixToken(char suffix)
Creates a new instance of SuffixToken, with the non-numeric char equal to the indicated char |
|
| 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 SuffixToken()
public SuffixToken(char suffix)
suffix - The Suffix character this SuffixToken should start with. Note,
in order to keep your PBEM easy to use, you should only use Suffix characters
available on a standard keyboard, and to avoid confusion, makes sure it is
not numeric.| 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 | |||||||||