public class HumanReadableSize extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HumanReadableSize.Unit |
| Constructor and Description |
|---|
HumanReadableSize() |
| Modifier and Type | Method and Description |
|---|---|
static long |
parse(String humanReadableSize)
parse a size in bytes, KB, GB, MB
|
public static long parse(String humanReadableSize)
humanReadableSize: - size with K/M/G like 1M, 12GIllegalArgumentException - if size is not parsableCopyright © 2020–2022 ICIJ. All rights reserved.