Package be.lmenten.utils.lang
Class StringUtils
java.lang.Object
be.lmenten.utils.lang.StringUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
charToValue(char c)
static String
leftPadding(String input, int L)
static long
parseNumber(String s)
static long
parseNumber(String s, int radix)
static String
rightPadding(String input, int L)
static String
toBinaryString(int data, int bits)
static String
toHexString(byte[] bytes)
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
leftPadding
-
rightPadding
-
parseNumber
- Parameters:
s
-- Returns:
-
parseNumber
-
charToValue
public static int charToValue(char c) -
toBinaryString
-
toHexString
-