chesspresso.position
Class FEN

java.lang.Object
  |
  +--chesspresso.position.FEN

public class FEN
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Bernhard Seybold

Field Summary
static java.lang.String START_POSITION
           
 
Constructor Summary
FEN()
           
 
Method Summary
static int fenCharToStone(char ch)
           
static java.lang.String getFEN(ImmutablePosition pos)
           
static void initFromFEN(MutablePosition pos, java.lang.String fen, boolean strict)
           
static char stoneToFenChar(int stone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_POSITION

public static final java.lang.String START_POSITION
See Also:
Constant Field Values
Constructor Detail

FEN

public FEN()
Method Detail

fenCharToStone

public static final int fenCharToStone(char ch)

stoneToFenChar

public static final char stoneToFenChar(int stone)

initFromFEN

public static void initFromFEN(MutablePosition pos,
                               java.lang.String fen,
                               boolean strict)
                        throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

getFEN

public static java.lang.String getFEN(ImmutablePosition pos)