fnug.config
Class JsonConfigParser

java.lang.Object
  extended by 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

Constructor Summary
JsonConfigParser()
           
 
Method Summary
 Config parse(Resource res)
          Parse the given resource into a config.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonConfigParser

public JsonConfigParser()
Method Detail

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.