|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eriksilkensen.sudoku.WebBoardFactory
public class WebBoardFactory
This Factory creates Boards by scraping the HTML off of a Sudoku website and parsing it into a Board
The website is run by Vegard Hanssen who has granted me with permission for using his Boards.
| Constructor Summary | |
|---|---|
WebBoardFactory()
|
|
| Method Summary | |
|---|---|
Board |
createBoard(BoardDifficulties difficulty)
createBoard() implementation which just delegates the actual creation to the private makeBoard() method If an Exception is encountered a stack trace is printed to standard output and then a blank, default Board is created and returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebBoardFactory()
| Method Detail |
|---|
public Board createBoard(BoardDifficulties difficulty)
createBoard in interface BoardFactorydifficulty - the difficulty level of the Board to create
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||