Class PGbytea


  • public class PGbytea
    extends java.lang.Object
    Converts to and from the postgresql bytea datatype used by the backend.
    • Constructor Summary

      Constructors 
      Constructor Description
      PGbytea()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] toBytes​(byte[] s)  
      static java.lang.String toPGString​(byte[] 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[] buf)