public final class IntConverter extends Object
| Constructor and Description |
|---|
IntConverter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(int i)
Convert and integer to a String
|
static int |
convert(String value)
Convert a String to an integer.
|
public static String convert(int i)
i - the integer to convertLong.toString(long)public static int convert(String value) throws FieldConvertError
value - the String to convertFieldConvertError - raised if the String does not represent a valid integerInteger.parseInt(String)Copyright © 2021. All rights reserved.