Class ByteSizeParser.Default
java.lang.Object
one.microstream.configuration.types.ByteSizeParser.Default
- All Implemented Interfaces:
ByteSizeParser
- Enclosing interface:
- ByteSizeParser
public static class ByteSizeParser.Default extends Object implements ByteSizeParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.configuration.types.ByteSizeParser
ByteSizeParser.Default
-
Method Summary
-
Method Details
-
parse
Description copied from interface:ByteSizeParser
Tries to parse aByteSize
out oftext
. It usually consists of an amount and an unit, e.g."1MB"
or"1.2 GB"
.- Specified by:
parse
in interfaceByteSizeParser
- Parameters:
text
- the textual input- Returns:
- the parsed
ByteSize
- See Also:
ByteSize
,ByteUnit
-