| java.lang.Object com.versant.core.jdbc.sql.conv.JdbcConverterBase com.versant.core.jdbc.sql.conv.TypeAsStringConverterBase com.versant.core.jdbc.sql.conv.FileConverter
FileConverter | public class FileConverter extends TypeAsStringConverterBase (Code) | | This converter converts java.io.File objects to and from SQL. It assumes
that the File is stored in a column compatible with ResultSet.getString and
PreparedStatement.setString.
|
fromString | protected Object fromString(String s)(Code) | | Create an instance of our type from a String.
Parameters: s - String to use (never null) |
getValueType | public Class getValueType()(Code) | | Get the type of our expected value objects (e.g. java.util.Locale
for a converter for Locale's).
|
Methods inherited from com.versant.core.jdbc.sql.conv.JdbcConverterBase | abstract public Object get(ResultSet rs, int index, JdbcColumn col) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public String getOracleStyleLOBNotNullString()(Code)(Java Doc) abstract public Class getValueType()(Code)(Java Doc) public boolean isOracleStyleLOB()(Code)(Java Doc) abstract public void set(PreparedStatement ps, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(PreparedStatement ps, int index, JdbcColumn col, int value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(ResultSet rs, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc)
|
|
|