com.puppycrawl.tools.checkstyle
Class ConfigurationLoader
public final class ConfigurationLoader
Loads a configuration from a standard configuration XML file.
loadConfiguration
public static Configuration loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver)
throws CheckstyleException Returns the module configurations in a specified file.
aConfig - location of config file, can be either a URL or a filenameaOverridePropsResolver - overriding properties
loadConfiguration
public static Configuration loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
throws CheckstyleException Returns the module configurations in a specified file.
aConfig - location of config file, can be either a URL or a filenameaOverridePropsResolver - overriding propertiesaOmitIgnoredModules - true if modules with severity
'ignore' should be omitted, false otherwise