Class LocalUnitFormatParser
java.lang.Object
tech.units.indriya.internal.format.LocalUnitFormatParser
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Next token.Deprecated.Current token.tech.units.indriya.internal.format.UnitTokenManagerDeprecated.Generated Token Manager. -
Constructor Summary
ConstructorsConstructorDescriptionLocalUnitFormatParser(InputStream stream) Deprecated.Constructor with InputStream.LocalUnitFormatParser(InputStream stream, String encoding) Deprecated.Constructor with InputStream and supplied encodingLocalUnitFormatParser(Reader stream) Deprecated.Constructor.LocalUnitFormatParser(SymbolMap symbols, Reader in) Deprecated.LocalUnitFormatParser(tech.units.indriya.internal.format.UnitTokenManager tm) Deprecated.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal javax.measure.UnitaddExpr()Deprecated.final javax.measure.UnitDeprecated.final javax.measure.UnitDeprecated.final voidDeprecated.Disable tracing.final voidDeprecated.Enable tracing.final tech.units.indriya.internal.format.LocalUnitFormatParser.Exponentexp()Deprecated.final javax.measure.UnitDeprecated.final TokenDeprecated.Get the next Token.final TokengetToken(int index) Deprecated.Get the specific Token.final javax.measure.UnitmulExpr()Deprecated.final NumberDeprecated.final javax.measure.UnitDeprecated.voidreInit(InputStream stream) Deprecated.Reinitialise.voidreInit(InputStream stream, String encoding) Deprecated.Reinitialise.voidDeprecated.Reinitialise.voidreInit(tech.units.indriya.internal.format.UnitTokenManager tm) Deprecated.Reinitialise.final Tokensign()Deprecated.
-
Field Details
-
tokenSource
Deprecated.Generated Token Manager. -
token
-
nextToken
-
-
Constructor Details
-
LocalUnitFormatParser
Deprecated. -
LocalUnitFormatParser
-
LocalUnitFormatParser
Deprecated.Constructor with InputStream and supplied encoding -
LocalUnitFormatParser
-
LocalUnitFormatParser
Deprecated.Constructor with generated Token Manager.
-
-
Method Details
-
parseUnit
Deprecated.- Throws:
TokenException
-
compoundExpr
Deprecated.- Throws:
TokenException
-
addExpr
-
mulExpr
-
exponentExpr
Deprecated.- Throws:
TokenException
-
atomicExpr
Deprecated.- Throws:
TokenException
-
sign
-
numberExpr
-
exp
public final tech.units.indriya.internal.format.LocalUnitFormatParser.Exponent exp() throws TokenExceptionDeprecated.- Throws:
TokenException
-
reInit
-
reInit
-
reInit
-
reInit
Deprecated.Reinitialise. -
getNextToken
-
getToken
-
enableTracing
-
disableTracing
-
UnitFormatParserFIXME there are some details e.g. Exception handling that are different, try to resolve or keep LUFP