Package org.geotools.data.postgis
Class WKBAttributeIO
- Object
-
- WKBAttributeIO
-
public class WKBAttributeIO extends Object
An attribute IO implementation that can manage the WKB- Since:
- 2.4.1
- Author:
- Andrea Aime
-
-
Constructor Summary
Constructors Constructor Description WKBAttributeIO()
WKBAttributeIO(GeometryFactory gf)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte
getFromChar(char c)
Turns a char that encodes four bits in hexadecimal notation into a byteboolean
isBase64EncodingEnabled()
Object
read(ResultSet rs, int columnIndex)
Object
read(ResultSet rs, String columnName)
void
setBase64EncodingEnabled(boolean base64EncodingEnabled)
void
setGeometryFactory(GeometryFactory gf)
void
write(PreparedStatement ps, int position, Object value)
-
-
-
Constructor Detail
-
WKBAttributeIO
public WKBAttributeIO()
-
WKBAttributeIO
public WKBAttributeIO(GeometryFactory gf)
-
-
Method Detail
-
setGeometryFactory
public void setGeometryFactory(GeometryFactory gf)
-
isBase64EncodingEnabled
public boolean isBase64EncodingEnabled()
-
setBase64EncodingEnabled
public void setBase64EncodingEnabled(boolean base64EncodingEnabled)
-
read
public Object read(ResultSet rs, String columnName) throws IOException
- Throws:
IOException
- See Also:
org.geotools.data.jdbc.attributeio.AttributeIO#read(java.sql.ResultSet, int)
-
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
-
-