|
Internet Chess ToolKit v0.2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for converting between Moves and Strings.
Method Summary | |
java.lang.String |
moveToString(Move m)
convert a Move into a String notation |
java.lang.String |
resultToString(Result result)
convert a Result into a String. |
Move |
stringToMove(Board b,
java.lang.String s)
convert a String into a Move. |
Result |
stringToResult(java.lang.String s)
convert a String into a Result object |
Method Detail |
public Move stringToMove(Board b, java.lang.String s) throws AmbiguousMoveException, IllegalMoveException
AmbiguousMoveException
IllegalMoveException
public java.lang.String moveToString(Move m)
public Result stringToResult(java.lang.String s)
public java.lang.String resultToString(Result result)
|
Submit a bug or feature Visit the Website Internet Chess ToolKit is licensed under the GPL v2 . |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |