Example #1
0
 public Object getResult(ResultGetter getter) throws SQLException {
   String format = getter.getString();
   if (getter.wasNull()) return SearchFileFormat.UNKNOWN;
   return SearchFileFormat.instance(format);
 }
Example #2
0
 public Object valueOf(String s) {
   return SearchFileFormat.instance(s);
 }