/* * wkt.java * * Created on January 25, 2001, 3:55 PM */ package uk.ac.leeds.ccg.sfsql; import java.sql.*; /** * * @author jamesm * @version */ public class WellKnownText extends java.lang.Object { int id; /** Creates new wkt */ public WellKnownText(ResultSet res) throws SQLException{ //lets assume we are on the right row... id = res.getInt("GID"); System.out.println("ID is "+id); System.out.println("This feature part "+res.getInt("ESEQ")); System.out.println("This feature is of type "+res.getInt("ETYPE")); System.out.println("This feature is segment "+res.getInt("SEQ")); } }