public final class WordGeneratorConfigUtil extends Object
WordGeneratorConfig
.Modifier and Type | Method and Description |
---|---|
static WordGeneratorConfig |
loadConfig(InputStream stream)
Loads the config from an input stream.
|
static void |
storeConfig(OutputStream stream,
WordGeneratorConfig config)
Stores the config to an output stream.
|
public static WordGeneratorConfig loadConfig(InputStream stream) throws IOException
stream
- a streamIOException
- for all kinds of exceptionspublic static void storeConfig(OutputStream stream, WordGeneratorConfig config) throws IOException
stream
- a streamconfig
- to be storedIOException
- for all kinds of exceptionsCopyright © 2020. All rights reserved.