|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eriksilkensen.sudoku.TextFileBoardFactory
public class TextFileBoardFactory
Factory implementation for creating Boards using a formatted text file.
As of 02/13/07 this Factory should only be used for test purposes
| Constructor Summary | |
|---|---|
TextFileBoardFactory()
|
|
| Method Summary | |
|---|---|
Board |
createBoard(BoardDifficulties difficulty)
Pops up a JOptionPane asking for the Board's text file, then creates a Board from it. |
protected Cell[][] |
makeCells(java.io.File file)
Parses the text file into a Cell array so the Board can be created |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFileBoardFactory()
| Method Detail |
|---|
public Board createBoard(BoardDifficulties difficulty)
createBoard in interface BoardFactoryprotected Cell[][] makeCells(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||