Package org.ChinaVO.FITSManager.Util

Class Summary
DBOperator A database operator for the whole application.
DriverShim a proxy driver to trick the security mechanism of driver manager.

String strDrv = ss.getStringValue("config/database/driver",
URL url;
try {
// url = new
// URL("file:/D:/Program Files/Develop/Java/eclipse/./derby.jar");
File f = new File(ss.getStringValue(
"config/database/driverFileURL", "./derby.jar"));
url = f.toURL();
} catch (MalformedURLException e) {
url = null;
URLClassLoader ucl = new URLClassLoader(new URL[] { url },
Driver drv = (Driver) Class.forName(strDrv, true, ucl)
DriverManager.registerDriver(new DriverShim(drv));
FileUtil some utilitiy functions for file operation.
FITSUtil some utilitiy functions for FITS file.
VOTableUtil Some utility functions for VOTable file.
if(VOTableUtil.isVotable(file)) to do something;