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
Deprecated.Current token. -
nextToken
Deprecated.Next token.
-
-
Constructor Details
-
LocalUnitFormatParser
Deprecated. -
LocalUnitFormatParser
Deprecated.Constructor with InputStream. -
LocalUnitFormatParser
Deprecated.Constructor with InputStream and supplied encoding -
LocalUnitFormatParser
Deprecated.Constructor. -
LocalUnitFormatParser
Deprecated.Constructor with generated Token Manager.
-
-
Method Details
-
parseUnit
Deprecated.- Throws:
TokenException
-
compoundExpr
Deprecated.- Throws:
TokenException
-
addExpr
Deprecated.- Throws:
TokenException
-
mulExpr
Deprecated.- Throws:
TokenException
-
exponentExpr
Deprecated.- Throws:
TokenException
-
atomicExpr
Deprecated.- Throws:
TokenException
-
sign
Deprecated.- Throws:
TokenException
-
numberExpr
Deprecated.- Throws:
TokenException
-
exp
public final tech.units.indriya.internal.format.LocalUnitFormatParser.Exponent exp() throws TokenExceptionDeprecated.- Throws:
TokenException
-
reInit
Deprecated.Reinitialise. -
reInit
Deprecated.Reinitialise. -
reInit
Deprecated.Reinitialise. -
reInit
Deprecated.Reinitialise. -
getNextToken
Deprecated.Get the next Token. -
getToken
Deprecated.Get the specific Token. -
enableTracing
Deprecated.Enable tracing. -
disableTracing
Deprecated.Disable tracing.
-
UnitFormatParserFIXME there are some details e.g. Exception handling that are different, try to resolve or keep LUFP