public static Collection readWKTFile(Reader rdr) throws IOException, ParseException { WKTFileReader fileRdr = new WKTFileReader(rdr, reader); List geoms = fileRdr.read(); return geoms; }
public static Collection readWKTFile(String filename) throws IOException, ParseException { WKTFileReader fileRdr = new WKTFileReader(filename, reader); List geoms = fileRdr.read(); return geoms; }