|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javatools.util.ScriptCatcher
|
+--javatools.db.util.TableStructureCatcher
Retrieves a table's structure.
| Constructor Summary | |
TableStructureCatcher()
Creates new TableStructureCatcher |
|
| Method Summary | |
java.lang.Object[] |
getDefaultValues()
Returns the default values array. |
int[] |
getDisplaySize()
Returns the display sizes array. |
java.lang.String[] |
getNames()
Returns the names array. |
int[] |
getTypes()
Returns the types array. |
void |
loadScript(java.lang.String fileName)
Loads a script file to get info for a table. |
void |
saveScript(java.lang.String fileName)
Saves collected values into a script file. |
void |
setArrays(java.lang.String[] pNames,
int[] pTypes,
int[] pDisplaySize,
java.lang.Object[] pDefaultValues)
Sets the references for the arrays of DbFixedAbstractTable objects. |
| Methods inherited from class javatools.util.ScriptCatcher |
addCommand, clear, constructCommands, getCommandList, getCommands, getCommandText, getCommentdelimiter, getDivideCommandChar, getNumCommands, getRemoveFormat, getStringDelimiterChar, iterator, removeComments, removeSpaces, setCommandText, setCommentDelimiter, setDivideCommandChar, setNumCommands, setRemoveFormat, setStringDelimiterChar, textFile2String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableStructureCatcher()
| Method Detail |
public void setArrays(java.lang.String[] pNames,
int[] pTypes,
int[] pDisplaySize,
java.lang.Object[] pDefaultValues)
pNames - The array of names.pTypes - The array of types.pDisplaySize - The array of display sizes.pDefaultValues - The array of default values.public java.lang.String[] getNames()
public int[] getTypes()
public int[] getDisplaySize()
public java.lang.Object[] getDefaultValues()
public void saveScript(java.lang.String fileName)
throws java.io.IOException
saveScript in class ScriptCatcherfileName - The filename.
java.io.IOException - If something goes wrong.
public void loadScript(java.lang.String fileName)
throws java.io.FileNotFoundException
loadScript in class ScriptCatcherfileName - The file name of the file to load.
java.io.FileNotFoundException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||