public class UDPNStringUtil extends Object
| Constructor and Description |
|---|
UDPNStringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPrecision(BigDecimal bd)
Get precision
|
static boolean |
isAmount(BigDecimal value) |
static boolean |
isAmount(BigDecimal value,
int currencyPrecision) |
static boolean |
isNotNull(String str)
Checks if the string is not null
|
static boolean |
isNull(String str)
Checks if the string is null
|
static boolean |
isNumberOrCharacter(String str)
Checks if the string is numeric and alphabetic
|
static boolean |
isServiceFee(BigDecimal value) |
public static boolean isNull(String str)
str - public static boolean isNotNull(String str)
str - public static boolean isNumberOrCharacter(String str)
str - public static boolean isServiceFee(BigDecimal value)
public static boolean isAmount(BigDecimal value)
public static boolean isAmount(BigDecimal value, int currencyPrecision)
public static int getPrecision(BigDecimal bd)
bd - Copyright © 2023. All rights reserved.