This commit is contained in:
RedKale
2016-06-11 18:34:01 +08:00
parent 74c5e2c53f
commit de206d0350

View File

@@ -216,6 +216,10 @@ public abstract class ConvertFactory<R extends Reader, W extends Writer> {
}
}
public final boolean register(final Class type, String column, String alias) {
return register(type, column, new ConvertColumnEntry(alias));
}
public final boolean register(final Class type, String column, ConvertColumnEntry entry) {
if (type == null || column == null || entry == null) return false;
try {