Internet Chess ToolKit
v0.2.0

ictk.boardgame.chess.io
Class FEN

java.lang.Object
  extended byictk.boardgame.chess.io.FEN
All Implemented Interfaces:
BoardNotation, ChessBoardNotation

public class FEN
extends java.lang.Object
implements ChessBoardNotation

FEN is an abstract class that parses strings to produce Board objects.


Field Summary
static long DEBUG
           
 
Constructor Summary
FEN()
           
 
Method Summary
 java.lang.String boardToString(Board b)
          converts board objects into string format
 java.util.Locale getLocale()
          NOT IMPLEMENTED YET
 void setLocale(java.util.Locale loc)
          NOT IMPLEMENTED YET
 Board stringToBoard(java.lang.String str)
          converts strings into ChessBoard objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static long DEBUG
Constructor Detail

FEN

public FEN()
Method Detail

setLocale

public void setLocale(java.util.Locale loc)
NOT IMPLEMENTED YET


getLocale

public java.util.Locale getLocale()
NOT IMPLEMENTED YET


stringToBoard

public Board stringToBoard(java.lang.String str)
                    throws java.io.IOException
converts strings into ChessBoard objects.

Specified by:
stringToBoard in interface BoardNotation
Throws:
java.io.IOException - for the normal reasons

boardToString

public java.lang.String boardToString(Board b)
converts board objects into string format

Specified by:
boardToString in interface BoardNotation

Submit a bug or feature
Visit the Website
Internet Chess ToolKit is licensed under the GPL v2 .