org.apache.geronimo.console.internaldb
Class DBViewerHelper

java.lang.Object
  extended by org.apache.geronimo.console.internaldb.DBViewerHelper

public class DBViewerHelper
extends Object


Constructor Summary
DBViewerHelper()
           
 
Method Summary
 Collection getDerbyDatabases(String derbySysHome)
          List the databases given the derby home directory.
 boolean isDBValid(String derbySysHome, String dbName)
           
 boolean isTblValid(String dbName, String tblName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBViewerHelper

public DBViewerHelper()
Method Detail

getDerbyDatabases

public Collection getDerbyDatabases(String derbySysHome)
List the databases given the derby home directory.

Parameters:
derbySysHome -
Returns:

isDBValid

public boolean isDBValid(String derbySysHome,
                         String dbName)
Parameters:
derbySysHome -
dbName -
Returns:

isTblValid

public boolean isTblValid(String dbName,
                          String tblName)
Parameters:
dbName -
tblName -
Returns:


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.