| Package | Description |
|---|---|
| com.github.joschi.jadconfig.converters | |
| com.github.joschi.jadconfig.util | |
| com.github.joschi.jadconfig.validators |
| Modifier and Type | Method and Description |
|---|---|
Size |
SizeConverter.convertFrom(String value)
|
| Modifier and Type | Method and Description |
|---|---|
String |
SizeConverter.convertTo(Size value)
Returns a
String instance representing the configuration parameter's value. |
| Modifier and Type | Method and Description |
|---|---|
static Size |
Size.bytes(long count) |
static Size |
Size.gigabytes(long count) |
static Size |
Size.kilobytes(long count) |
static Size |
Size.megabytes(long count) |
static Size |
Size.parse(String size) |
static Size |
Size.petabytes(long count) |
static Size |
Size.terabytes(long count) |
| Modifier and Type | Method and Description |
|---|---|
int |
Size.compareTo(Size other) |
| Modifier and Type | Method and Description |
|---|---|
void |
PositiveSizeValidator.validate(String name,
Size value)
Validates if the value value the of provided configuration parameter name is a positive
Size |
Copyright © 2022. All rights reserved.