Package javax0.license3j.parsers
Class NumericParser
- java.lang.Object
-
- javax0.license3j.parsers.NumericParser
-
public class NumericParser extends java.lang.Object
A simple string parser that can parse decimal and hexa format numbers to be stored in byte, short, int or long. It also takes care that all values in Java are signed and thus, for example, 0xFF would not be treated as a valid byte value. Using this parset it will result a proper -1 byte.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NumericParser.Byte
static class
NumericParser.Int
static class
NumericParser.Long
static class
NumericParser.Short
-
Constructor Summary
Constructors Constructor Description NumericParser()
-