Class StringUtils

java.lang.Object
be.lmenten.utils.lang.StringUtils

public class StringUtils extends Object
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • leftPadding

      public static String leftPadding(String input, int L)
    • rightPadding

      public static String rightPadding(String input, int L)
    • parseNumber

      public static long parseNumber(String s)
      Parameters:
      s -
      Returns:
    • parseNumber

      public static long parseNumber(String s, int radix)
    • charToValue

      public static int charToValue(char c)
    • toBinaryString

      public static String toBinaryString(int data, int bits)
    • toHexString

      public static String toHexString(byte[] bytes)