Skip to content

Instantly share code, notes, and snippets.

@gastaldi
Created June 16, 2011 02:22
Show Gist options
  • Save gastaldi/1028557 to your computer and use it in GitHub Desktop.
Save gastaldi/1028557 to your computer and use it in GitHub Desktop.
First draft from Bean Conversion API
package javax.convert;
public interface Converter<F, T> {
public T convert(F obj, ConverterContext context);
}
package javax.convert;
import java.util.Map;
public interface ConverterContext {
public Map<String, Object> getProperties();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment