org.openjump.core.apitools
Class IOTools
java.lang.Object
org.openjump.core.apitools.IOTools
public class IOTools
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOTools
public IOTools()
load
public static FeatureCollection load(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public static FeatureCollection load(java.lang.String filename,
java.lang.String zipFileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadJMLFile
public static FeatureCollection loadJMLFile(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadShapefile
public static FeatureCollection loadShapefile(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadShapefile
public static FeatureCollection loadShapefile(java.lang.String filename,
java.lang.String zipFileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadFMEGML
public static FeatureCollection loadFMEGML(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadWKT
public static FeatureCollection loadWKT(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
save
public static void save(FeatureCollection fc,
java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveShapefile
public static void saveShapefile(FeatureCollection fc,
java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveJMLFile
public static void saveJMLFile(FeatureCollection fc,
java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
print
public static void print(FeatureCollection fc)