|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.ConfigurationLoader
public final class ConfigurationLoader
Loads a configuration from a standard configuration XML file.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Configuration loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver)
throws CheckstyleException
aConfig - location of config file, can be either a URL or a filenameaOverridePropsResolver - overriding properties
CheckstyleException - if an error occurs
public static Configuration loadConfiguration(String aConfig,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
throws CheckstyleException
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
CheckstyleException - if an error occurs
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||