Package org.a11y.brlapi
Class Parse
java.lang.Object
org.a11y.brlapi.Parse
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
static byte
static byte
static byte
static int
asCursorPosition
(String operand) static int
asDisplayNumber
(String operand) static byte
static int
static int
static int
static long
static long
static long
static short
static short
static short
static void
checkMaximum
(String description, long value, long maximum) static void
checkMinimum
(String description, long value, long minimum) static void
checkRange
(String description, long value, long minimum, long maximum)
-
Field Details
-
DEFAULT_RANGE_MINIMUM
public static final byte DEFAULT_RANGE_MINIMUM- See Also:
-
MINIMUM_CURSOR_POSITION
public static final int MINIMUM_CURSOR_POSITION- See Also:
-
NO_CURSOR
- See Also:
-
LEAVE_CURSOR
- See Also:
-
MINIMUM_DISPLAY_NUMBER
public static final int MINIMUM_DISPLAY_NUMBER- See Also:
-
DEFAULT_DISPLAY
- See Also:
-
-
Method Details
-
asBoolean
- Throws:
SyntaxException
-
checkMinimum
public static void checkMinimum(String description, long value, long minimum) throws SyntaxException - Throws:
SyntaxException
-
checkMaximum
public static void checkMaximum(String description, long value, long maximum) throws SyntaxException - Throws:
SyntaxException
-
checkRange
public static void checkRange(String description, long value, long minimum, long maximum) throws SyntaxException - Throws:
SyntaxException
-
asLong
public static long asLong(String description, String operand, long minimum, long maximum) throws SyntaxException - Throws:
SyntaxException
-
asLong
- Throws:
SyntaxException
-
asLong
- Throws:
SyntaxException
-
asInt
public static int asInt(String description, String operand, int minimum, int maximum) throws SyntaxException - Throws:
SyntaxException
-
asInt
- Throws:
SyntaxException
-
asInt
- Throws:
SyntaxException
-
asShort
public static short asShort(String description, String operand, short minimum, short maximum) throws SyntaxException - Throws:
SyntaxException
-
asShort
public static short asShort(String description, String operand, short minimum) throws SyntaxException - Throws:
SyntaxException
-
asShort
- Throws:
SyntaxException
-
asByte
public static byte asByte(String description, String operand, byte minimum, byte maximum) throws SyntaxException - Throws:
SyntaxException
-
asByte
- Throws:
SyntaxException
-
asByte
- Throws:
SyntaxException
-
asDots
- Throws:
SyntaxException
-
asCursorPosition
- Throws:
SyntaxException
-
asDisplayNumber
- Throws:
SyntaxException
-