|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectScrabbleData
public class ScrabbleData
| Constructor Summary | |
|---|---|
ScrabbleData(ScrabbleView sView)
|
|
| Method Summary | |
|---|---|
Scrabble |
parseScrabbleData(java.lang.String[] lines)
Parses the Array returned from readFromFile(..) |
java.lang.String[] |
readFromFile(java.lang.String fileName)
Reads from a file |
void |
writeToFile(Scrabble scrabble,
java.lang.String fileName)
Writes the Scrabble info to a file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScrabbleData(ScrabbleView sView)
| Method Detail |
|---|
public void writeToFile(Scrabble scrabble,
java.lang.String fileName)
Scrabble - The Scrabble class holding all the information about the game (Bag/Board/Players/Moves)fileName - The file name to write all the data topublic java.lang.String[] readFromFile(java.lang.String fileName)
fileName - The name of the file
public Scrabble parseScrabbleData(java.lang.String[] lines)
lines - the lines from the line
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||