org.postgresql.util
Class PGbytea

java.lang.Object
  extended by org.postgresql.util.PGbytea

public class PGbytea
extends java.lang.Object

Converts to and from the postgresql bytea datatype used by the backend.


Constructor Summary
PGbytea()
           
 
Method Summary
static byte[] toBytes(byte[] s)
           
static java.lang.String toPGString(byte[] p_buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGbytea

public PGbytea()
Method Detail

toBytes

public static byte[] toBytes(byte[] s)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

toPGString

public static java.lang.String toPGString(byte[] p_buf)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException