org.gnu6.util
Class mlist2Class

java.lang.Object
  |
  +--org.gnu6.util.mlist2Class

public class mlist2Class
extends java.lang.Object

This utility convert mlist into a class with the static main method.


Field Summary
static java.lang.String MOVE
           
static java.lang.String NAME
           
static java.lang.String PARAMETER
           
static java.lang.String SKIPFAIL
           
static java.lang.String VALUE
           
 
Constructor Summary
mlist2Class()
           
 
Method Summary
 void createClassWithoutSchedule(java.lang.String className)
           
 void createClassWithSchedule(java.lang.String className)
           
static void main(java.lang.String[] argv)
           
 void parseMoves(java.lang.String myLocation)
          Extracts moves from an mlist defined by its location.
static void runMove(java.lang.String mv, org.gnu6.six.State myState)
           
static void runMovesWithSchedule(java.lang.String Location, org.gnu6.six.State myState, java.lang.String[] listOfmoves)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOVE

public static final java.lang.String MOVE
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

SKIPFAIL

public static final java.lang.String SKIPFAIL
See Also:
Constant Field Values

PARAMETER

public static final java.lang.String PARAMETER
See Also:
Constant Field Values

VALUE

public static final java.lang.String VALUE
See Also:
Constant Field Values
Constructor Detail

mlist2Class

public mlist2Class()
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
java.lang.Exception

parseMoves

public void parseMoves(java.lang.String myLocation)
                throws java.lang.Exception
Extracts moves from an mlist defined by its location.

Parameters:
myLocation - - mlist location
java.lang.Exception

createClassWithoutSchedule

public void createClassWithoutSchedule(java.lang.String className)
                                throws java.lang.Exception
java.lang.Exception

createClassWithSchedule

public void createClassWithSchedule(java.lang.String className)
                             throws java.lang.Exception
java.lang.Exception

runMovesWithSchedule

public static void runMovesWithSchedule(java.lang.String Location,
                                        org.gnu6.six.State myState,
                                        java.lang.String[] listOfmoves)
                                 throws java.lang.Exception
java.lang.Exception

runMove

public static void runMove(java.lang.String mv,
                           org.gnu6.six.State myState)
                    throws java.lang.Exception
java.lang.Exception