public final class UnitFormatParser extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
ASTERISK |
RegularExpression Id.
|
static int |
CARET |
RegularExpression Id.
|
static int |
CLOSE_PAREN |
RegularExpression Id.
|
static int |
COLON |
RegularExpression Id.
|
static int |
DEFAULT |
Lexical state.
|
static int |
DIGIT |
RegularExpression Id.
|
static int |
E |
RegularExpression Id.
|
static int |
EOF |
End of File.
|
static int |
EXTENDED_CHAR |
RegularExpression Id.
|
static int |
FLOATING_POINT |
RegularExpression Id.
|
static int |
INITIAL_CHAR |
RegularExpression Id.
|
static int |
INTEGER |
RegularExpression Id.
|
static int |
LOG |
RegularExpression Id.
|
static int |
MIDDLE_DOT |
RegularExpression Id.
|
static int |
MINUS |
RegularExpression Id.
|
static int |
NAT_LOG |
RegularExpression Id.
|
static int |
OPEN_PAREN |
RegularExpression Id.
|
static int |
PLUS |
RegularExpression Id.
|
static int |
SOLIDUS |
RegularExpression Id.
|
static int |
SUPERSCRIPT_DIGIT |
RegularExpression Id.
|
static int |
SUPERSCRIPT_INTEGER |
RegularExpression Id.
|
static String[] |
tokenImage |
Literal token values.
|
static int |
UNIT_IDENTIFIER |
RegularExpression Id.
|
Constructor | Description |
---|---|
UnitFormatParser(SymbolMap symbols,
Reader in) |
public static final int EOF
public static final int DIGIT
public static final int SUPERSCRIPT_DIGIT
public static final int INITIAL_CHAR
public static final int EXTENDED_CHAR
public static final int PLUS
public static final int MINUS
public static final int ASTERISK
public static final int MIDDLE_DOT
public static final int SOLIDUS
public static final int CARET
public static final int COLON
public static final int OPEN_PAREN
public static final int CLOSE_PAREN
public static final int INTEGER
public static final int SUPERSCRIPT_INTEGER
public static final int FLOATING_POINT
public static final int LOG
public static final int NAT_LOG
public static final int E
public static final int UNIT_IDENTIFIER
public static final int DEFAULT
public static final String[] tokenImage
public UnitFormatParser(SymbolMap symbols, Reader in)
public javax.measure.Unit<?> parseUnit() throws TokenException
TokenException
Copyright © 2005–2020 Units of Measurement project. All rights reserved.