|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--medi.util.MediConfig
Configuration static class for Medi.
Constructor Summary | |
MediConfig()
Creates a new instance of MediConfig |
Method Summary | |
static java.util.Iterator |
analyzerClassIterator()
Returns an iterator for analyzer classes. |
static java.util.Iterator |
containerTypeIterator()
Returns an iterator for container types. |
static void |
fillAnalyzerClassTable(javax.swing.JTable table)
Fills a table getting data from the analyzer class script file. |
static void |
fillContainerTypeTable(javax.swing.JTable table)
Fills a table getting data from the container type script file. |
static void |
fillMountPointTable(javax.swing.JTable table)
Fills a table getting data from the mount point script file. |
static void |
fillPreviewerClassTable(javax.swing.JTable table)
Fills a table getting data from the previewer class script file. |
static void |
fillVolumeTypeTable(javax.swing.JTable table)
Fills a table getting data from the volume type script file. |
static java.lang.String |
getDbDir()
Returns the directory in which the database is. |
static java.lang.String |
getDbms()
Returns the DBMS name. |
static java.lang.String |
getDbmsAddress()
Returns the DBMS address. |
static java.lang.String |
getDbName()
Returns the name of the database. |
static java.lang.String |
getDriver()
Returns driver class name. |
static java.lang.String |
getPassword()
Returns the password. |
static int |
getPort()
Returns the TCP port. |
static java.lang.String |
getUserName()
Returns the user name. |
static void |
init()
Initializes the class. |
static java.util.Iterator |
mountPointIterator()
Returns an iterator for mount points. |
static java.util.Iterator |
previewerClassIterator()
Returns an iterator for previewer classes. |
static void |
saveAnalyzerClassTable(javax.swing.JTable table)
Saves table content into the file for analyzer classes. |
static void |
saveContainerTypeTable(javax.swing.JTable table)
Saves table content into the file for container types.. |
static void |
saveMountPointTable(javax.swing.JTable table)
Saves table content into the file for mount points. |
static void |
savePreviewerClassTable(javax.swing.JTable table)
Saves table content into the file for previewer classes. |
static void |
saveVolumeTypeTable(javax.swing.JTable table)
Saves table content into the file for volume types.. |
static java.util.Iterator |
volumeTypeIterator()
Returns an iterator for volume types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MediConfig()
Method Detail |
public static void init() throws DbException
DbException
- If something goes wrong.public static java.lang.String getDbms()
public static java.lang.String getDriver()
public static java.lang.String getDbDir()
public static java.lang.String getDbmsAddress()
public static java.lang.String getDbName()
public static java.lang.String getUserName()
public static java.lang.String getPassword()
public static int getPort()
public static java.util.Iterator mountPointIterator()
public static java.util.Iterator containerTypeIterator()
public static java.util.Iterator volumeTypeIterator()
public static java.util.Iterator analyzerClassIterator()
public static java.util.Iterator previewerClassIterator()
public static void saveMountPointTable(javax.swing.JTable table) throws java.io.IOException
table
- The table to be saved.
java.io.IOException
- If something goes wrong.public static void saveContainerTypeTable(javax.swing.JTable table) throws java.io.IOException
table
- The table to be saved.
java.io.IOException
- If something goes wrong.public static void saveVolumeTypeTable(javax.swing.JTable table) throws java.io.IOException
table
- The table to be saved.
java.io.IOException
- If something goes wrong.public static void saveAnalyzerClassTable(javax.swing.JTable table) throws java.io.IOException
table
- The table to be saved.
java.io.IOException
- If something goes wrong.public static void savePreviewerClassTable(javax.swing.JTable table) throws java.io.IOException
table
- The table to be saved.
java.io.IOException
- If something goes wrong.public static void fillMountPointTable(javax.swing.JTable table)
table
- The table to be filled.public static void fillContainerTypeTable(javax.swing.JTable table)
table
- The table to be filled.public static void fillVolumeTypeTable(javax.swing.JTable table)
table
- The table to be filled.public static void fillAnalyzerClassTable(javax.swing.JTable table)
table
- The table to be filled.public static void fillPreviewerClassTable(javax.swing.JTable table)
table
- The table to be filled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |