Class NumberTools

java.lang.Object
oracle.stellent.ridc.common.util.NumberTools

@Exported public class NumberTools extends Object
Utility class to deal with Numbers and Integers
  • Constructor Details

    • NumberTools

      public NumberTools()
  • Method Details

    • parseInteger

      public static int parseInteger(String str, int defValue)
      Attempts to parse an integer and provides a default if it fails.
      Parameters:
      str - string to be parsed
      defValue - default value if parsing fails
      Returns: