fnug.config
Class JsonConfigParser
java.lang.Object
fnug.config.JsonConfigParser
- All Implemented Interfaces:
- ConfigParser
public class JsonConfigParser
- extends Object
- implements ConfigParser
Implementation of ConfigParser
that reads json config files.
- Author:
- Martin Algesten
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonConfigParser
public JsonConfigParser()
parse
public Config parse(Resource res)
- Parse the given resource into a config.
- Specified by:
parse
in interface ConfigParser
- Parameters:
res
- the resource to parse.
- Returns:
- the config.
Copyright © 2012. All Rights Reserved.