org.geotools.data.postgis
Class WKBAttributeIO
java.lang.Object
org.geotools.data.postgis.WKBAttributeIO
public class WKBAttributeIO
- extends java.lang.Object
An attribute IO implementation that can manage the WKB
- Since:
- 2.4.1
- Author:
- Andrea Aime
Method Summary |
static byte |
getFromChar(char c)
Turns a char that encodes four bits in hexadecimal notation into a byte |
java.lang.Object |
read(java.sql.ResultSet rs,
int columnIndex)
|
java.lang.Object |
read(java.sql.ResultSet rs,
java.lang.String columnName)
|
void |
write(java.sql.PreparedStatement ps,
int position,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WKBAttributeIO
public WKBAttributeIO()
WKBAttributeIO
public WKBAttributeIO(com.vividsolutions.jts.geom.GeometryFactory gf)
read
public java.lang.Object read(java.sql.ResultSet rs,
java.lang.String columnName)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
AttributeIO.read(java.sql.ResultSet,
int)
read
public java.lang.Object read(java.sql.ResultSet rs,
int columnIndex)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
AttributeIO.read(java.sql.ResultSet,
int)
write
public void write(java.sql.PreparedStatement ps,
int position,
java.lang.Object value)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
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
- Parameters:
c
-
Copyright © 1996-2010 Geotools. All Rights Reserved.