org.postgresql.core.types
Class PGString

java.lang.Object
  extended by org.postgresql.core.types.PGString
All Implemented Interfaces:
PGType

public class PGString
extends Object
implements PGType

Author:
davec TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
protected PGString(String x)
           
 
Method Summary
static PGType castToServerType(String val, int targetType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PGString

protected PGString(String x)
Method Detail

castToServerType

public static PGType castToServerType(String val,
                                      int targetType)
                               throws PSQLException
Throws:
PSQLException

toString

public String toString()
Specified by:
toString in interface PGType
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.