public interface SizeParser
Parses the size.
Modifier and Type | Method and Description |
---|---|
Size |
parseSizeInKiloBytes(String value,
Context context)
Parses a size in kilobytes.
|
Size parseSizeInKiloBytes(String value, Context context) throws ParseException
Parses a size in kilobytes.
value
- The value.context
- The context.IllegalArgumentException
- If any of the parameters are null
.ParseException
- If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.