@Immutable public final class LocaleParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static Number |
parse(String sStr,
Locale aParseLocale) |
static Number |
parse(String sStr,
Locale aParseLocale,
Number aDefault) |
static Number |
parse(String sStr,
NumberFormat aNF) |
static Number |
parse(String sStr,
NumberFormat aNF,
Number aDefault) |
static BigDecimal |
parseBigDecimal(String sStr,
DecimalFormat aNF) |
static BigDecimal |
parseBigDecimal(String sStr,
DecimalFormat aNF,
BigDecimal aDefault) |
static BigDecimal |
parseBigDecimal(String sStr,
Locale aParseLocale) |
static BigDecimal |
parseBigDecimal(String sStr,
Locale aParseLocale,
BigDecimal aDefault) |
static BigDecimal |
parseBigDecimal(String sStr,
NumberFormat aNF) |
static BigDecimal |
parseBigDecimal(String sStr,
NumberFormat aNF,
BigDecimal aDefault) |
static byte |
parseByte(String sStr,
Locale aParseLocale,
byte nDefault) |
static byte |
parseByte(String sStr,
NumberFormat aNF,
byte nDefault) |
static double |
parseDouble(String sStr,
Locale aParseLocale,
double dDefault) |
static double |
parseDouble(String sStr,
NumberFormat aNF,
double dDefault) |
static float |
parseFloat(String sStr,
Locale aParseLocale,
float fDefault) |
static float |
parseFloat(String sStr,
NumberFormat aNF,
float fDefault) |
static int |
parseInt(String sStr,
Locale aParseLocale,
int nDefault) |
static int |
parseInt(String sStr,
NumberFormat aNF,
int nDefault) |
static long |
parseLong(String sStr,
Locale aParseLocale,
long nDefault) |
static long |
parseLong(String sStr,
NumberFormat aNF,
long nDefault) |
static short |
parseShort(String sStr,
Locale aParseLocale,
short nDefault) |
static short |
parseShort(String sStr,
NumberFormat aNF,
short nDefault) |
@Nullable public static Number parse(String sStr, @Nonnull Locale aParseLocale, @Nullable Number aDefault)
@Nullable public static Number parse(@Nullable String sStr, @Nonnull NumberFormat aNF, @Nullable Number aDefault)
public static float parseFloat(@Nullable String sStr, @Nonnull Locale aParseLocale, float fDefault)
public static float parseFloat(@Nullable String sStr, @Nonnull NumberFormat aNF, float fDefault)
public static double parseDouble(@Nullable String sStr, @Nonnull Locale aParseLocale, double dDefault)
public static double parseDouble(@Nullable String sStr, @Nonnull NumberFormat aNF, double dDefault)
public static byte parseByte(@Nullable String sStr, @Nonnull Locale aParseLocale, byte nDefault)
public static byte parseByte(@Nullable String sStr, @Nonnull NumberFormat aNF, byte nDefault)
public static int parseInt(@Nullable String sStr, @Nonnull Locale aParseLocale, int nDefault)
public static int parseInt(@Nullable String sStr, @Nonnull NumberFormat aNF, int nDefault)
public static long parseLong(@Nullable String sStr, @Nonnull Locale aParseLocale, long nDefault)
public static long parseLong(@Nullable String sStr, @Nonnull NumberFormat aNF, long nDefault)
public static short parseShort(@Nullable String sStr, @Nonnull Locale aParseLocale, short nDefault)
public static short parseShort(@Nullable String sStr, @Nonnull NumberFormat aNF, short nDefault)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull Locale aParseLocale)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull Locale aParseLocale, @Nullable BigDecimal aDefault)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull DecimalFormat aNF)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull DecimalFormat aNF, @Nullable BigDecimal aDefault)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull NumberFormat aNF)
@Nullable public static BigDecimal parseBigDecimal(@Nullable String sStr, @Nonnull NumberFormat aNF, @Nullable BigDecimal aDefault)
Copyright © 2014–2022 Philip Helger. All rights reserved.