com.puppycrawl.tools.checkstyle
Class ConfigurationLoader

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.ConfigurationLoader

public final class ConfigurationLoader
extends java.lang.Object

Loads a configuration from a standard configuration XML file.

Version:
1.0
Author:
Oliver Burn

Method Summary
static Configuration loadConfiguration(java.lang.String aConfig, PropertyResolver aOverridePropsResolver)
          Returns the module configurations in a specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadConfiguration

public static Configuration loadConfiguration(java.lang.String aConfig,
                                              PropertyResolver aOverridePropsResolver)
                                       throws CheckstyleException
Returns the module configurations in a specified file.

Parameters:
aConfig - location of config file, can be either a URL or a filename
aOverridePropsResolver - overriding properties
Returns:
the check configurations
Throws:
CheckstyleException - if an error occurs

Back to the Checkstyle Home Page