| Modifier and Type | Class and Description |
|---|---|
static class |
FileConfig.Builder
This class is a Builder to build a
FileConfig
programmatically. |
| Constructor and Description |
|---|
FileConfig(String name)
Create a new
FileConfig with the given file name. |
| Modifier and Type | Method and Description |
|---|---|
static FileConfig.Builder |
builder()
Return a
Builder that can be used to build a
config. |
String |
getName()
The name of the file configured.
|
public FileConfig(String name)
Create a new FileConfig with the given file name.
This constructor is annotated so that a YAML or JSON parsed with jackson fasterxml can create an instance directly.
name - the name of the file configuration.IllegalArgumentException - if name is null.public String getName()
The name of the file configured.
public static FileConfig.Builder builder()
Return a Builder that can be used to build a
config.
Builder.Copyright © 2020 sw4j.org. All rights reserved.