public final class FileSize extends Object
Modifier and Type | Method | Description |
---|---|---|
static long |
parse(String string,
long defaultValue) |
Converts a string to a number of bytes.
|
public static long parse(String string, long defaultValue)
string
- The string to convertdefaultValue
- The default value if a problem is detected parsing.Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.