de.soldin.gt2jump.test.gt2shapefile
Class GT2ShapefileReaderWriter

java.lang.Object
  extended byde.soldin.gt2jump.test.gt2shapefile.GT2ShapefileReaderWriter
All Implemented Interfaces:
com.vividsolutions.jump.io.JUMPReader, com.vividsolutions.jump.io.JUMPWriter

public class GT2ShapefileReaderWriter
extends Object
implements com.vividsolutions.jump.io.JUMPReader, com.vividsolutions.jump.io.JUMPWriter

Author:
ed ATTENTION: Writing and reading of FIDs is not currently implemented as jump FIDs are integer and GT2's are string

Nested Class Summary
static class GT2ShapefileReaderWriter.Shapefile
           
 
Constructor Summary
GT2ShapefileReaderWriter()
           
 
Method Summary
 org.geotools.feature.FeatureCollection convert(com.vividsolutions.jump.feature.FeatureCollection jump_features)
           
 com.vividsolutions.jump.feature.FeatureCollection convert(org.geotools.feature.FeatureCollection gt2_features)
           
 com.vividsolutions.jump.feature.FeatureCollection read(com.vividsolutions.jump.io.DriverProperties dp)
           
 void write(com.vividsolutions.jump.feature.FeatureCollection featureCollection, com.vividsolutions.jump.io.DriverProperties dp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GT2ShapefileReaderWriter

public GT2ShapefileReaderWriter()
Method Detail

read

public com.vividsolutions.jump.feature.FeatureCollection read(com.vividsolutions.jump.io.DriverProperties dp)
                                                       throws Exception
Specified by:
read in interface com.vividsolutions.jump.io.JUMPReader
Throws:
Exception

write

public void write(com.vividsolutions.jump.feature.FeatureCollection featureCollection,
                  com.vividsolutions.jump.io.DriverProperties dp)
           throws com.vividsolutions.jump.io.IllegalParametersException,
                  Exception
Specified by:
write in interface com.vividsolutions.jump.io.JUMPWriter
Throws:
com.vividsolutions.jump.io.IllegalParametersException
Exception

convert

public org.geotools.feature.FeatureCollection convert(com.vividsolutions.jump.feature.FeatureCollection jump_features)
                                               throws Exception
Throws:
Exception

convert

public com.vividsolutions.jump.feature.FeatureCollection convert(org.geotools.feature.FeatureCollection gt2_features)