pobs.utility
Class POBS

java.lang.Object
  extended bypobs.utility.POBS

public class POBS
extends java.lang.Object

Contains a number of commonly used predefined parsers for convenience.

Author:
Martijn W. van der Lee

Field Summary
static PParser ALPHA
          Matches all ASCII alphabetical characters, both lower- and uppercase.
static PParser ALPHA_NUM
          Matches all ASCII alphabetical characters and digits, both lower- and uppercase.
static PParser ANY
          Matches any single character.
static PParser BINARY_DIGIT
          Matches all valid ASCII characters for the binary system, both lower- and uppercase.
static PParser DIGIT
          Matches a single ASCII digits 0 to 9.
static PParser DIGITS
          Matches a series ASCII digits 0 to 9.
static PParser HEX_DIGIT
          Matches all valid ASCII characters for the hexadecimal system, both lower- and uppercase.
static PParser LOWER_CASE
          Matches all ASCII lowercase alphabetical characthers.
static PParser OCTAL_DIGIT
          Matches all valid ASCII characters for the octal system, both lower- and uppercase.
static PParser SIGN
          Matches all the ASCII characters for the positive and negative signs.
static PParser SIGNED_FLOAT
          Matches a signed floating decimal of any length.
static PParser SIGNED_INT
          Matches a signed decimal integer of any length.
static PParser UNSIGNED_FLOAT
          Matches an unsigned floating decimal of any length.
static PParser UNSIGNED_INT
          Matches an unsigned decimal integer of any length.
static PParser UPPER_CASE
          Matches all ASCII uppercase alphabetical characters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALPHA_NUM

public static final PParser ALPHA_NUM
Matches all ASCII alphabetical characters and digits, both lower- and uppercase.


ALPHA

public static final PParser ALPHA
Matches all ASCII alphabetical characters, both lower- and uppercase.


LOWER_CASE

public static final PParser LOWER_CASE
Matches all ASCII lowercase alphabetical characthers.


UPPER_CASE

public static final PParser UPPER_CASE
Matches all ASCII uppercase alphabetical characters.


ANY

public static final PParser ANY
Matches any single character.


BINARY_DIGIT

public static final PParser BINARY_DIGIT
Matches all valid ASCII characters for the binary system, both lower- and uppercase.


DIGIT

public static final PParser DIGIT
Matches a single ASCII digits 0 to 9.


DIGITS

public static final PParser DIGITS
Matches a series ASCII digits 0 to 9.


OCTAL_DIGIT

public static final PParser OCTAL_DIGIT
Matches all valid ASCII characters for the octal system, both lower- and uppercase.


HEX_DIGIT

public static final PParser HEX_DIGIT
Matches all valid ASCII characters for the hexadecimal system, both lower- and uppercase.


SIGN

public static final PParser SIGN
Matches all the ASCII characters for the positive and negative signs.


UNSIGNED_INT

public static final PParser UNSIGNED_INT
Matches an unsigned decimal integer of any length.


SIGNED_INT

public static final PParser SIGNED_INT
Matches a signed decimal integer of any length.


UNSIGNED_FLOAT

public static final PParser UNSIGNED_FLOAT
Matches an unsigned floating decimal of any length.


SIGNED_FLOAT

public static final PParser SIGNED_FLOAT
Matches a signed floating decimal of any length.