Package org.nuiton.config.plugin.io
Class ConfigModelIOTomlImpl
- java.lang.Object
-
- org.nuiton.config.plugin.io.ConfigModelIOTomlImpl
-
- All Implemented Interfaces:
ConfigModelIO
@Component(role=ConfigModelIO.class, hint="toml") public class ConfigModelIOTomlImpl extends Object implements ConfigModelIO
Implementation usingtoml
format. Created on 02/10/16.- Since:
- 3.0
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description ConfigModelIOTomlImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigModel
read(Path path)
void
write(ConfigModel configModel, Path path)
-
-
-
Method Detail
-
read
public ConfigModel read(Path path) throws ReadConfigModelException
- Specified by:
read
in interfaceConfigModelIO
- Throws:
ReadConfigModelException
-
write
public void write(ConfigModel configModel, Path path) throws WriteConfigModelException
- Specified by:
write
in interfaceConfigModelIO
- Throws:
WriteConfigModelException
-
-