org.postgresql.util
Class PGtokenizer
java.lang.Object
org.postgresql.util.PGtokenizer
public class PGtokenizer
- extends java.lang.Object
This class is used to tokenize the text output of org.postgres.
It's mainly used by the geometric classes, but is useful in parsing any
output from custom data types output from org.postgresql.
- See Also:
PGbox,
PGcircle,
PGlseg,
PGpath,
PGpoint,
PGpolygon
|
Field Summary |
protected java.util.Vector |
tokens
|
|
Constructor Summary |
PGtokenizer(java.lang.String string,
char delim)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokens
protected java.util.Vector tokens
PGtokenizer
public PGtokenizer(java.lang.String string,
char delim)
tokenize
public int tokenize(java.lang.String string,
char delim)
getSize
public int getSize()
getToken
public java.lang.String getToken(int n)
tokenizeToken
public PGtokenizer tokenizeToken(int n,
char delim)
remove
public static java.lang.String remove(java.lang.String s,
java.lang.String l,
java.lang.String t)
remove
public void remove(java.lang.String l,
java.lang.String t)
removePara
public static java.lang.String removePara(java.lang.String s)
removePara
public void removePara()
removeBox
public static java.lang.String removeBox(java.lang.String s)
removeBox
public void removeBox()
removeAngle
public static java.lang.String removeAngle(java.lang.String s)
removeAngle
public void removeAngle()