| Package | Description |
|---|---|
| com.github.joschi.jadconfig.converters | |
| com.github.joschi.jadconfig.util |
| Modifier and Type | Method and Description |
|---|---|
SizeUnit |
SizeUnitConverter.convertFrom(String value)
|
| Modifier and Type | Method and Description |
|---|---|
String |
SizeUnitConverter.convertTo(SizeUnit value)
Returns a
String instance representing the configuration parameter's value. |
| Modifier and Type | Method and Description |
|---|---|
SizeUnit |
Size.getUnit() |
static SizeUnit |
SizeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizeUnit[] |
SizeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
long |
SizeUnit.convert(long size,
SizeUnit unit)
Converts a size of the given unit into the current unit.
|
Copyright © 2022. All rights reserved.