|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maverickdbms.basic.Factory
Factory is a factory class to produce and recycle objects needed by the BASIC program.
| Method Summary | |
void |
clearList(int index)
|
void |
clearLists()
|
boolean |
containsList(int index)
|
void |
createFile(ConstantString type,
ConstantString name,
int flags,
ConstantString[] fields)
|
void |
deleteList(ConstantString record,
mvString status)
|
void |
dropFile(ConstantString type,
ConstantString name)
|
Array |
getArray()
|
Program |
getCommand(ConstantString command)
|
Common |
getCommon()
|
Condition |
getCondition(Field f)
|
Condition |
getCondition(int type,
Condition vvv)
|
Condition |
getCondition(int type,
ConstantString vvv)
|
ConstantString |
getConstant(double constant)
Creates a new ConstantString from the specified double. |
ConstantString |
getConstant(int constant)
Creates a new ConstantString from the specified integer. |
ConstantString |
getConstant(long constant)
Creates a new ConstantString from the specified long. |
ConstantString |
getConstant(java.lang.String constant)
Creates a new ConstantString from the specified String. |
ConstantString |
getFile(Program program,
mvString var,
ConstantString type,
ConstantString name,
int flags,
mvString status)
|
Formatter |
getFormatter(int type,
ConstantString pattern,
boolean convNull)
Retuns a formatter of the specified type |
Key |
getKey()
|
List |
getList(int index)
|
ConstantString |
getList(mvString var,
mvString count,
ConstantString record,
mvString status)
|
MathInterface |
getMath()
|
java.text.NumberFormat |
getNumberFormatter()
|
OSFile |
getOSFile()
|
Program |
getProgram(ConstantString name)
|
SequentialFile |
getSequentialFile()
|
Session |
getSession()
|
mvString |
getStatus()
|
mvString |
getString()
Generates a mvString object. |
Terminals |
getTerminals()
|
Tree |
getTree(int type)
|
void |
popLists()
Pops the current set of lists to restore a previous environment |
void |
popResolver()
|
void |
pushLists()
Pushes the current set of lists to create a new environment |
void |
pushResolver(Resolver r)
|
void |
putString(mvString s)
Returns a mvString object to the factory for reuse. |
void |
RELEASE()
|
ConstantString |
run(Session session,
mvString[] args)
|
void |
setList(int index,
List list)
|
void |
writeList(ConstantString var,
ConstantString record,
mvString status)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void createFile(ConstantString type,
ConstantString name,
int flags,
ConstantString[] fields)
throws mvException
mvException
public void clearList(int index)
throws mvException
mvException
public void clearLists()
throws mvException
mvException
public boolean containsList(int index)
throws mvException
mvException
public void deleteList(ConstantString record,
mvString status)
throws mvException
mvException
public void dropFile(ConstantString type,
ConstantString name)
throws mvException
mvExceptionpublic Array getArray()
public Program getCommand(ConstantString command)
throws mvException
mvExceptionpublic Common getCommon()
public Condition getCondition(Field f)
public Condition getCondition(int type,
ConstantString vvv)
public Condition getCondition(int type,
Condition vvv)
public ConstantString getConstant(double constant)
constant - the integer.
public ConstantString getConstant(int constant)
constant - the integer.
public ConstantString getConstant(long constant)
constant - the long.
public ConstantString getConstant(java.lang.String constant)
constant - the String.
public ConstantString getFile(Program program,
mvString var,
ConstantString type,
ConstantString name,
int flags,
mvString status)
throws mvException
mvException
public Formatter getFormatter(int type,
ConstantString pattern,
boolean convNull)
throws mvException
type - The type of the formatterpattern - The pattern the formatter should applyconvNull - On error whether null or the input string is returned
mvExceptionpublic Key getKey()
public List getList(int index)
public ConstantString getList(mvString var,
mvString count,
ConstantString record,
mvString status)
throws mvException
mvExceptionpublic MathInterface getMath()
public java.text.NumberFormat getNumberFormatter()
public OSFile getOSFile()
public Program getProgram(ConstantString name)
throws mvException
mvExceptionpublic SequentialFile getSequentialFile()
public Session getSession()
public mvString getStatus()
public mvString getString()
public Terminals getTerminals()
throws mvException
mvExceptionpublic Tree getTree(int type)
public void popLists()
throws mvException
mvExceptionpublic void popResolver()
public void pushLists()
public void pushResolver(Resolver r)
public void putString(mvString s)
s - the mvString
public void RELEASE()
throws mvException
mvException
public ConstantString run(Session session,
mvString[] args)
run in interface Program
public void setList(int index,
List list)
throws mvException
mvException
public void writeList(ConstantString var,
ConstantString record,
mvString status)
throws mvException
mvException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||