Package | Description |
---|---|
com.typesafe.config |
An API for loading and using configuration files, see the project site
for more information.
|
Modifier and Type | Method and Description |
---|---|
ConfigMemorySize |
Config.getMemorySize(String path)
Gets a value as an amount of memory (parses special strings like "128M").
|
static ConfigMemorySize |
ConfigMemorySize.ofBytes(long bytes)
Constructs a ConfigMemorySize representing the given
number of bytes.
|
Modifier and Type | Method and Description |
---|---|
List<ConfigMemorySize> |
Config.getMemorySizeList(String path)
Gets a list, converting each value in the list to a memory size, using the
same rules as
Config.getMemorySize(String) . |
Copyright © 2018 com.typesafe. All rights reserved.