예제 #1
0
 public Geometry getGeometry() {
   DataInputStream in = new DataInputStream(new ByteArrayInputStream(stmt.columnBlob(1)));
   try {
     return Line.fromBinary(in);
   } catch (IOException e) {
     throw new EGisException(e);
   }
 }
예제 #2
0
 public void close() {
   stmt.close();
 }
예제 #3
0
 public Object getRaw() {
   return stmt.columnBlob(0);
 }
예제 #4
0
 public boolean next() {
   return stmt.next();
 }