Package pro.johndunlap.getopt
Interface TypeConverter<P>
-
- Type Parameters:
P- The type of object that string values should be parsed into
- All Known Implementing Classes:
DefaultValueParser
public interface TypeConverter<P>Implementations of this interface are used to parse string values into object instances which are not supported by default.
-
-
Method Detail
-
read
P read(String value) throws ParseException
- Throws:
ParseException
-
write
String write(P value) throws ParseException
- Throws:
ParseException
-
-