public class SizeParserImpl extends Object implements SizeParser
A SizeParser
implementation.
Constructor and Description |
---|
SizeParserImpl()
Creates a parser.
|
Modifier and Type | Method and Description |
---|---|
Size |
parseSizeInKiloBytes(String value,
Context context)
Parses a size in kilobytes.
|
public Size parseSizeInKiloBytes(String value, Context context) throws ParseException
SizeParser
Parses a size in kilobytes.
parseSizeInKiloBytes
in interface SizeParser
value
- The value.context
- The context.ParseException
- If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.