Class ObjectMapperExample
- java.lang.Object
-
- org.spongepowered.configurate.examples.ObjectMapperExample
-
public final class ObjectMapperExample extends Object
Example of how to use the ObjectMapper for a simple configuration that is read to and written from.Error handling is not considered in this example, but for a fully fledged application it would be essential.
-
-
Method Detail
-
main
public static void main(String[] args) throws ConfigurateException
- Throws:
ConfigurateException
-
-