Created
June 16, 2011 02:22
-
-
Save gastaldi/1028557 to your computer and use it in GitHub Desktop.
First draft from Bean Conversion API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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