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