org.compass.core.config.builder
Class JsonConfigurationBuilder

java.lang.Object
  extended by org.compass.core.config.builder.AbstractInputStreamConfigurationBuilder
      extended by org.compass.core.config.builder.JsonConfigurationBuilder
All Implemented Interfaces:
ConfigurationBuilder

public class JsonConfigurationBuilder
extends AbstractInputStreamConfigurationBuilder

A JSON configuration bulider, basically converting the JSON notation to flat settings.

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.config.builder.AbstractInputStreamConfigurationBuilder
log
 
Constructor Summary
JsonConfigurationBuilder()
           
 
Method Summary
protected  void doConfigure(InputStream is, String resourceName, CompassConfiguration config)
           
 
Methods inherited from class org.compass.core.config.builder.AbstractInputStreamConfigurationBuilder
configure, configure, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonConfigurationBuilder

public JsonConfigurationBuilder()
Method Detail

doConfigure

protected void doConfigure(InputStream is,
                           String resourceName,
                           CompassConfiguration config)
                    throws ConfigurationException
Specified by:
doConfigure in class AbstractInputStreamConfigurationBuilder
Throws:
ConfigurationException


Copyright (c) 2004-2009 The Compass Project.