diff options
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java b/src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java index c8605061eb..bdbad3d160 100644 --- a/src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java +++ b/src/interfaces/jdbc/org/postgresql/util/PGtokenizer.java @@ -3,7 +3,7 @@ package org.postgresql.util; import java.sql.*; import java.util.*; -/** +/* * This class is used to tokenize the text output of org.postgres. * * <p>It's mainly used by the geometric classes, but is useful in parsing any @@ -21,7 +21,7 @@ public class PGtokenizer // Our tokens protected Vector tokens; - /** + /* * Create a tokeniser. * * <p>We could have used StringTokenizer to do this, however, we needed to @@ -36,7 +36,7 @@ public class PGtokenizer tokenize(string, delim); } - /** + /* * This resets this tokenizer with a new string and/or delimiter. * * @param string containing tokens @@ -83,7 +83,7 @@ public class PGtokenizer return tokens.size(); } - /** + /* * @return the number of tokens available */ public int getSize() @@ -91,7 +91,7 @@ public class PGtokenizer return tokens.size(); } - /** + /* * @param n Token number ( 0 ... getSize()-1 ) * @return The token value */ @@ -100,7 +100,7 @@ public class PGtokenizer return (String)tokens.elementAt(n); } - /** + /* * This returns a new tokenizer based on one of our tokens. * * The geometric datatypes use this to process nested tokens (usually @@ -115,7 +115,7 @@ public class PGtokenizer return new PGtokenizer(getToken(n), delim); } - /** + /* * This removes the lead/trailing strings from a string * @param s Source string * @param l Leading string to remove @@ -131,7 +131,7 @@ public class PGtokenizer return s; } - /** + /* * This removes the lead/trailing strings from all tokens * @param l Leading string to remove * @param t Trailing string to remove @@ -144,7 +144,7 @@ public class PGtokenizer } } - /** + /* * Removes ( and ) from the beginning and end of a string * @param s String to remove from * @return String without the ( or ) @@ -154,7 +154,7 @@ public class PGtokenizer return remove(s, "(", ")"); } - /** + /* * Removes ( and ) from the beginning and end of all tokens * @return String without the ( or ) */ @@ -163,7 +163,7 @@ public class PGtokenizer remove("(", ")"); } - /** + /* * Removes [ and ] from the beginning and end of a string * @param s String to remove from * @return String without the [ or ] @@ -173,7 +173,7 @@ public class PGtokenizer return remove(s, "[", "]"); } - /** + /* * Removes [ and ] from the beginning and end of all tokens * @return String without the [ or ] */ @@ -182,7 +182,7 @@ public class PGtokenizer remove("[", "]"); } - /** + /* * Removes < and > from the beginning and end of a string * @param s String to remove from * @return String without the < or > @@ -192,7 +192,7 @@ public class PGtokenizer return remove(s, "<", ">"); } - /** + /* * Removes < and > from the beginning and end of all tokens * @return String without the < or > */ |