java.lang.Object
edu.hm.hafner.analysis.util.IntegerParser
Parses integers from string values.
- Author:
- Ullrich Hafner
-
Method Summary
-
Method Details
-
parseInt
Converts a number (represented by the specified String) to an integer value. If the string is not a valid number, then 0 is returned. This method does not throw exceptions if the value is invalid.- Parameters:
number- the line number (as a string)- Returns:
- the converted number
- See Also:
-