diff options
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/geometric')
7 files changed, 121 insertions, 40 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGbox.java b/src/interfaces/jdbc/org/postgresql/geometric/PGbox.java index e57297c7dd..242a29413f 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGbox.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGbox.java @@ -1,12 +1,23 @@ +/*------------------------------------------------------------------------- + * + * PGbox.java + * This represents the box datatype within org.postgresql. + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGbox.java,v 1.4 2003/03/07 18:39:42 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.sql.SQLException; +import java.io.Serializable; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; -/* - * This represents the box datatype within org.postgresql. - */ public class PGbox extends PGobject implements Serializable, Cloneable { /* diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGcircle.java b/src/interfaces/jdbc/org/postgresql/geometric/PGcircle.java index 05e60c5526..a6456c16b9 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGcircle.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGcircle.java @@ -1,13 +1,25 @@ +/*------------------------------------------------------------------------- + * + * PGcircle.java + * This represents org.postgresql's circle datatype, consisting of a point + * and a radius + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGcircle.java,v 1.4 2003/03/07 18:39:42 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.io.Serializable; +import java.sql.SQLException; +import java.util.Hashtable; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; -/* - * This represents org.postgresql's circle datatype, consisting of a point and - * a radius - */ public class PGcircle extends PGobject implements Serializable, Cloneable { /* diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGline.java b/src/interfaces/jdbc/org/postgresql/geometric/PGline.java index e91f416be2..5a108bd0b7 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGline.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGline.java @@ -1,12 +1,24 @@ +/*------------------------------------------------------------------------- + * + * PGline.java + * This implements a line consisting of two points. + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGline.java,v 1.4 2003/03/07 18:39:42 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.io.Serializable; +import java.sql.SQLException; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; /* - * This implements a line consisting of two points. - * * Currently line is not yet implemented in the backend, but this class * ensures that when it's done were ready for it. */ diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGlseg.java b/src/interfaces/jdbc/org/postgresql/geometric/PGlseg.java index 6d5af7e7d7..c29aac4b98 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGlseg.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGlseg.java @@ -1,12 +1,23 @@ +/*------------------------------------------------------------------------- + * + * PGlseg.java + * This implements a lseg (line segment) consisting of two points + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGlseg.java,v 1.4 2003/03/07 18:39:42 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.io.Serializable; +import java.sql.SQLException; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; -/* - * This implements a lseg (line segment) consisting of two points - */ public class PGlseg extends PGobject implements Serializable, Cloneable { /* diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGpath.java b/src/interfaces/jdbc/org/postgresql/geometric/PGpath.java index 60a4c92488..0c40ce301b 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGpath.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGpath.java @@ -1,12 +1,23 @@ +/*------------------------------------------------------------------------- + * + * PGpath.java + * This implements a path (a multiple segmented line, which may be closed) + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGpath.java,v 1.5 2003/03/07 18:39:42 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.io.Serializable; +import java.sql.SQLException; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; -/* - * This implements a path (a multiple segmented line, which may be closed) - */ public class PGpath extends PGobject implements Serializable, Cloneable { /* diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGpoint.java b/src/interfaces/jdbc/org/postgresql/geometric/PGpoint.java index c7df1362be..58ddb5f6f1 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGpoint.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGpoint.java @@ -1,16 +1,29 @@ +/*------------------------------------------------------------------------- + * + * PGline.java + * It maps to the point datatype in org.postgresql. + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGpoint.java,v 1.4 2003/03/07 18:39:43 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; import java.awt.Point; -import java.io.*; -import java.sql.*; +import java.io.Serializable; +import java.sql.SQLException; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; import org.postgresql.util.*; /* * This implements a version of java.awt.Point, except it uses double * to represent the coordinates. - * - * <p>It maps to the point datatype in org.postgresql. */ public class PGpoint extends PGobject implements Serializable, Cloneable { diff --git a/src/interfaces/jdbc/org/postgresql/geometric/PGpolygon.java b/src/interfaces/jdbc/org/postgresql/geometric/PGpolygon.java index 5ae18ed3f4..d70233ba4c 100644 --- a/src/interfaces/jdbc/org/postgresql/geometric/PGpolygon.java +++ b/src/interfaces/jdbc/org/postgresql/geometric/PGpolygon.java @@ -1,12 +1,23 @@ +/*------------------------------------------------------------------------- + * + * PGline.java + * This implements the polygon datatype within PostgreSQL. + * + * Copyright (c) 2003, PostgreSQL Global Development Group + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/geometric/Attic/PGpolygon.java,v 1.4 2003/03/07 18:39:43 barry Exp $ + * + *------------------------------------------------------------------------- + */ package org.postgresql.geometric; -import java.io.*; -import java.sql.*; -import org.postgresql.util.*; +import java.io.Serializable; +import java.sql.SQLException; +import org.postgresql.util.PGobject; +import org.postgresql.util.PGtokenizer; +import org.postgresql.util.PSQLException; -/* - * This implements the polygon datatype within PostgreSQL. - */ public class PGpolygon extends PGobject implements Serializable, Cloneable { /* |
