DBVIEW
org.dbview.utils.JavaVm Class Reference

List of all members.

Static Public Member Functions

static ArrayList< String > listJar (String in_name) throws Exception
static URL locateResource (String in_name)

Detailed Description

This class implements utilities used to interact with the JAVA run-time environment.

Author:
Denis Beurive

Definition at line 37 of file JavaVm.java.


Member Function Documentation

static ArrayList<String> org.dbview.utils.JavaVm.listJar ( String  in_name) throws Exception [static]

This method lists the content of a JAR file.

Parameters:
in_nameName of the JAR file.
Returns:
The method returns the list of entries found in the JAR file.
Exceptions:
Exception

Definition at line 45 of file JavaVm.java.

Referenced by org.dbview.addons.AddOnCatalog.AddOnCatalog(), and org.dbview.resources.SotfForeignKeyDetectorCatalog.SotfForeignKeyDetectorCatalog().

static URL org.dbview.utils.JavaVm.locateResource ( String  in_name) [static]

This method tries to locate a resource, given its name.

Parameters:
in_nameName of the resource.
Returns:
If the method locates the resource, then it returns the resource's URL. Otherwise, it returns the value null.

Definition at line 70 of file JavaVm.java.

Referenced by org.dbview.utils.JavaVm.listJar().


The documentation for this class was generated from the following file: