Class WKBAttributeIO


  • public class WKBAttributeIO
    extends Object
    An attribute IO implementation that can manage the WKB
    Since:
    2.4.1
    Author:
    Andrea Aime
    • Constructor Detail

      • WKBAttributeIO

        public WKBAttributeIO()
    • Method Detail

      • setGeometryFactory

        public void setGeometryFactory​(GeometryFactory gf)
      • isBase64EncodingEnabled

        public boolean isBase64EncodingEnabled()
      • setBase64EncodingEnabled

        public void setBase64EncodingEnabled​(boolean base64EncodingEnabled)
      • read

        public Object read​(ResultSet rs,
                           int columnIndex)
                    throws IOException
        Throws:
        IOException
        See Also:
        org.geotools.data.jdbc.attributeio.AttributeIO#read(java.sql.ResultSet, int)
      • write

        public void write​(PreparedStatement ps,
                          int position,
                          Object value)
                   throws IOException
        Throws:
        IOException
        See Also:
        org.geotools.data.jdbc.attributeio.AttributeIO#write(java.sql.PreparedStatement, int, java.lang.Object)
      • getFromChar

        public static byte getFromChar​(char c)
        Turns a char that encodes four bits in hexadecimal notation into a byte