org.apache.geronimo.console.databasemanager.wizard
Class DriverDownloader

java.lang.Object
  extended by org.apache.geronimo.console.databasemanager.wizard.DriverDownloader

public class DriverDownloader
extends Object

A utility that handles listing and downloading available JDBC driver JARs. It can handle straight JARs and also JARs in ZIP files.


Nested Class Summary
static class DriverDownloader.DriverInfo
           
 
Constructor Summary
DriverDownloader()
           
 
Method Summary
 void loadDriver(WriteableRepository repo, DriverDownloader.DriverInfo driver, FileWriteMonitor monitor)
          Downloads a driver and loads it into the local repository.
 DriverDownloader.DriverInfo[] loadDriverInfo(URL driverInfoFile)
           
 Properties readDriverFile(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverDownloader

public DriverDownloader()
Method Detail

readDriverFile

public Properties readDriverFile(URL url)

loadDriverInfo

public DriverDownloader.DriverInfo[] loadDriverInfo(URL driverInfoFile)

loadDriver

public void loadDriver(WriteableRepository repo,
                       DriverDownloader.DriverInfo driver,
                       FileWriteMonitor monitor)
                throws IOException
Downloads a driver and loads it into the local repository.

Throws:
IOException


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