|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbot.BoardFactory
Generate boards from file names. Can take a whole list of filenames if desired.
| Field Summary | |
static String |
BOARD_POSTFIX
|
static String |
BOARD_PREFIX
|
| Constructor Summary | |
BoardFactory()
|
|
| Method Summary | |
void |
addBoardName(String nm)
Add the name to the list of names to rotate through. |
void |
addBoardName(String nm,
boolean check)
Add name. |
boolean |
check(String boardName)
Check to see if given file is valid. |
boolean |
check(URL u)
|
Board |
generateBoard()
Generate a board from the next name in the list. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String BOARD_PREFIX
public static String BOARD_POSTFIX
| Constructor Detail |
public BoardFactory()
| Method Detail |
public void addBoardName(String nm)
public void addBoardName(String nm,
boolean check)
public boolean check(String boardName)
public boolean check(URL u)
public Board generateBoard()
generateBoard in interface BoardGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||