de.soldin.gt2jump.readwrite
Class GT2ReaderWriterExtension
java.lang.Object
com.vividsolutions.jump.workbench.plugin.Extension
de.soldin.gt2jump.readwrite.GT2ReaderWriterExtension
- All Implemented Interfaces:
- com.vividsolutions.jump.workbench.plugin.Configuration
- public class GT2ReaderWriterExtension
- extends com.vividsolutions.jump.workbench.plugin.Extension
As usual the extension installs/initializes GT2ReaderPlugin
and
GT2WriterPlugin
.
A specialty is the createLoader()
method. Check it out.
Method Summary |
void |
configure(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
|
static ClassLoader |
createLoader()
This is thought of as a way to dynamically load the gt2 readerwriter modules
from a directory of choice. this way they don't have reside in the general classpath
but can be put in separate directory.
|
String |
getName()
|
String |
getVersion()
|
GT2ReaderWriterExtension
public GT2ReaderWriterExtension()
configure
public void configure(com.vividsolutions.jump.workbench.plugin.PlugInContext context)
throws Exception
- Throws:
Exception
getVersion
public String getVersion()
getName
public String getName()
createLoader
public static ClassLoader createLoader()
- This is thought of as a way to dynamically load the gt2 readerwriter modules
from a directory of choice. this way they don't have reside in the general classpath
but can be put in separate directory.
The property "user.dir" works for windows, i doubt it'll do for linux/unix.
- Returns:
- a classloader object, containing all available jars in the specified directory