Interface Converter
public interface Converter
Translates the String representation of a class into
an instance of the class and vice versa
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class type) fromString
(String str) Parses a given String and return
-
Method Details
-
canConvert
-
fromString
Parses a given String and return- Parameters:
str
- String representation of the class- Returns:
- an instance of the class
-
toString
-