com.puppycrawl.tools.checkstyle
public final class ConfigurationLoader extends Object
Version: 1.0
Method Summary | |
---|---|
static Configuration | loadConfiguration(String aConfig, PropertyResolver aOverridePropsResolver)
Returns the module configurations in a specified file. |
static Configuration | loadConfiguration(String aConfig, PropertyResolver aOverridePropsResolver, boolean aOmitIgnoredModules)
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
Parameters: aConfig location of config file, can be either a URL or a filename aOverridePropsResolver overriding properties aOmitIgnoredModules true
if modules with severity
'ignore' should be omitted, false
otherwise
Returns: the check configurations
Throws: CheckstyleException if an error occurs