chesspresso
Class NAG

java.lang.Object
  |
  +--chesspresso.NAG

public abstract class NAG
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Bernhard Seybold

Field Summary
static short NUM_OF_NAGS
           
 
Constructor Summary
NAG()
           
 
Method Summary
static java.lang.String[] getDefinedShortNags()
           
static java.lang.String getLongString(short nag)
           
static java.lang.String getShortString(short nag)
           
static java.lang.String getShortString(short nag, boolean takeLongIfNull)
           
static short ofString(java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_OF_NAGS

public static short NUM_OF_NAGS
Constructor Detail

NAG

public NAG()
Method Detail

getDefinedShortNags

public static java.lang.String[] getDefinedShortNags()

getLongString

public static java.lang.String getLongString(short nag)

getShortString

public static java.lang.String getShortString(short nag)

getShortString

public static java.lang.String getShortString(short nag,
                                              boolean takeLongIfNull)

ofString

public static short ofString(java.lang.String description)
                      throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException