| Constructor and Description |
|---|
Builder()
Create a new
Builder. |
| Modifier and Type | Method and Description |
|---|---|
Config |
build()
Build a new
Config with the parameters set. |
Config.Builder |
setInput(FileConfig input)
Set the input file configuration.
|
Config.Builder |
setOutput(OutputConfig output)
Set the output file(s) configuration.
|
Config.Builder |
setRandom(GenerationConfig random)
Set the random generation and presentation configuration.
|
public Config.Builder setInput(FileConfig input)
Set the input file configuration.
input - the input file configuration.public Config.Builder setOutput(OutputConfig output)
Set the output file(s) configuration.
output - the output file(s) configuration.public Config.Builder setRandom(GenerationConfig random)
Set the random generation and presentation configuration.
random - the random generation and presentation configuration.public Config build()
Build a new Config with the parameters set.
Config.IllegalArgumentException - if either input, output or either random or
predefined is null.Copyright © 2020 sw4j.org. All rights reserved.