|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.moves.MoveSetData
public class MoveSetData
Constructor Summary | |
---|---|
MoveSetData()
|
Method Summary | |
---|---|
MoveSet |
getMoveSet(int i)
Get the move set identified by the parameter. |
int |
getMoveSetCount()
Return the number of move sets. |
void |
loadFromFile(java.io.InputStream file)
Load the move sets from an input stream. |
void |
loadFromFile(java.lang.String str)
Load the move sets in from a file. |
void |
loadFromFile(java.net.URL url)
Load the move sets in from a URL. |
static void |
main(java.lang.String[] args)
Merge the full advance and d/p move databases together. |
void |
pruneMoveSet()
Prune the move set of null entries. |
void |
saveToFile(java.io.File f)
Save the move sets to a file. |
void |
saveToFile(java.io.OutputStream output)
Save the move sets to an arbitrary output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveSetData()
Method Detail |
---|
public void saveToFile(java.io.File f)
public void saveToFile(java.io.OutputStream output)
public void pruneMoveSet()
public void loadFromFile(java.net.URL url)
public void loadFromFile(java.lang.String str)
public void loadFromFile(java.io.InputStream file)
public int getMoveSetCount()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public MoveSet getMoveSet(int i) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |