public final class ParsingUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
parseIntValue(java.lang.String value)
Parses the provided string value to an Integer, assuming a base-10 radix
|
static int |
parseIntValue(java.lang.String value,
int radix)
Parse the provided string value to an Integer with a provided radix
|
static long |
parseLongValue(java.lang.String value)
Parses the provided string value to a Long, assuming a base-10 radix
|
static long |
parseLongValue(java.lang.String value,
int radix)
Parses the provided string value to a Long with a provided radix
|
public static int parseIntValue(java.lang.String value)
throws java.io.IOException
value - string value to parsejava.io.IOException - when the value cannot be parsedpublic static int parseIntValue(java.lang.String value,
int radix)
throws java.io.IOException
value - string value to parseradix - radix value to use for parsingjava.io.IOException - when the value cannot be parsedpublic static long parseLongValue(java.lang.String value)
throws java.io.IOException
value - string value to parsejava.io.IOException - when the value cannot be parsedpublic static long parseLongValue(java.lang.String value,
int radix)
throws java.io.IOException
value - string value to parseradix - radix value to use for parsingjava.io.IOException - when the value cannot be parsedCopyright © 2010 - 2024 Adobe. All Rights Reserved