Package net.sourceforge.pmd.properties
Interface ValueParser<U>
-
- Type Parameters:
U
- The type of the value to parse
public interface ValueParser<U>
Parses a value from a string.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description U
valueOf(java.lang.String value)
Extracts a primitive from a string.
-
-
-
Method Detail
-
valueOf
U valueOf(java.lang.String value) throws java.lang.IllegalArgumentException
Extracts a primitive from a string.- Parameters:
value
- The string to parse- Returns:
- The primitive found
- Throws:
java.lang.IllegalArgumentException
- if the value couldn't be parsed
-
-