Class Characters

java.lang.Object
com.pnfsoftware.jeb.util.primitives.Characters

public class Characters extends Object
Utility methods for character or any number interpreted as character.
  • Constructor Details

    • Characters

      public Characters()
  • Method Details

    • isAsciiCharOrCommonFormat

      public static boolean isAsciiCharOrCommonFormat(int b)
      Indicates if character is printable ASCII or any CR/LF/TAB separator.
      Parameters:
      b - byte to test
      Returns:
      true if the value is printable ASCII, carriage return, line feed, or tab
    • isAsciiChar

      public static boolean isAsciiChar(int b)
      Indicates if character is printable ASCII.
      Parameters:
      b - byte to test
      Returns:
      true if the value is in the printable ASCII range