net.damf.generic.commandHandle
Class Comman

java.lang.Object
  extended by net.damf.generic.commandHandle.Comman
Direct Known Subclasses:
SyllableStack

public abstract class Comman
extends java.lang.Object


Field Summary
protected  java.lang.Object[][] commandInfo
           
 
Constructor Summary
protected Comman(java.io.File commandFile)
           
protected Comman(java.lang.String commandFile)
           
 
Method Summary
protected abstract  java.lang.Object addInfo(int infoType, java.lang.String str)
           
protected  java.lang.Object forCommand(int infoPos, int returnInfoPos, java.lang.String command)
           
protected  int forCommand(int infoPos, java.lang.String command)
           
protected  java.lang.Object forCommand(java.lang.String command)
           
protected abstract  java.lang.Object[][] getCommandInfo(int length)
           
protected  int runThrough(java.io.BufferedReader reader)
           
protected  void store(java.io.BufferedReader reader)
           
protected abstract  java.io.File writeDefaultCommandFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandInfo

protected java.lang.Object[][] commandInfo
Constructor Detail

Comman

protected Comman(java.lang.String commandFile)
          throws java.lang.ClassNotFoundException,
                 java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException

Comman

protected Comman(java.io.File commandFile)
          throws java.lang.ClassNotFoundException,
                 java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException
Method Detail

forCommand

protected java.lang.Object forCommand(java.lang.String command)

forCommand

protected java.lang.Object forCommand(int infoPos,
                                      int returnInfoPos,
                                      java.lang.String command)

forCommand

protected int forCommand(int infoPos,
                         java.lang.String command)

runThrough

protected int runThrough(java.io.BufferedReader reader)
                  throws java.io.IOException
Throws:
java.io.IOException

store

protected void store(java.io.BufferedReader reader)
              throws java.lang.ClassNotFoundException,
                     java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException

getCommandInfo

protected abstract java.lang.Object[][] getCommandInfo(int length)

addInfo

protected abstract java.lang.Object addInfo(int infoType,
                                            java.lang.String str)
                                     throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

writeDefaultCommandFile

protected abstract java.io.File writeDefaultCommandFile()
                                                 throws java.io.IOException
Throws:
java.io.IOException