de.soldin.gt2jump.readwrite
Class GT2ReaderWriterExtension

java.lang.Object
  extended bycom.vividsolutions.jump.workbench.plugin.Extension
      extended byde.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.


Constructor Summary
GT2ReaderWriterExtension()
           
 
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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GT2ReaderWriterExtension

public GT2ReaderWriterExtension()
Method Detail

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