Package org.nuiton.config.plugin.io
Class ConfigModelIOYamlImpl
- java.lang.Object
-
- org.nuiton.config.plugin.io.ConfigModelIOYamlImpl
-
- All Implemented Interfaces:
ConfigModelIO
@Component(role=ConfigModelIO.class, hint="yaml") public class ConfigModelIOYamlImpl extends Object implements ConfigModelIO
Implementation usingyaml
format. Created on 01/10/16.- Since:
- 3.0
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description ConfigModelIOYamlImpl()
-
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
-
-