| java.lang.Object com.hp.hpl.jena.db.impl.DriverMap
DriverMap | public class DriverMap (Code) | | The DriverMap statics maintain a map from short database type names to
database driver classes. The map contains some built-in items (for MySQL
and Postgres) and can be extended by files in the etc directory.
author: kers |
Method Summary | |
public static void | add(String name, String className) Add a mapping from a driver name to its class name. | static void | add(InputStream in) | public static void | addIfPresent(String fileName) Add the mappings specified in the file named by fileName ,
if it exists; that file must be an N3 file. | public static String | get(String name) Answer the class name associated with the driver name in the map. | static Property | property(String s) |
add | public static void add(String name, String className)(Code) | | Add a mapping from a driver name to its class name. The driver name
is lower-cased before adding.
|
addIfPresent | public static void addIfPresent(String fileName)(Code) | | Add the mappings specified in the file named by fileName ,
if it exists; that file must be an N3 file.
|
get | public static String get(String name)(Code) | | Answer the class name associated with the driver name in the map.
name is lower-cased before lookup.
|
|
|