public final class ConfigurationLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
loadConfiguration(InputStream aConfigStream,
PropertyResolver aOverridePropsResolver,
boolean aOmitIgnoredModules)
Returns the module configurations from a specified input stream.
|
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.
|
public static Configuration loadConfiguration(String aConfig, PropertyResolver aOverridePropsResolver) throws CheckstyleException
aConfig - location of config file, can be either a URL or a filenameaOverridePropsResolver - overriding propertiesCheckstyleException - if an error occurspublic 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 otherwiseCheckstyleException - if an error occurspublic static Configuration loadConfiguration(InputStream aConfigStream, PropertyResolver aOverridePropsResolver, boolean aOmitIgnoredModules) throws CheckstyleException
aConfigStream - the input stream to the Checkstyle configurationaOverridePropsResolver - overriding propertiesaOmitIgnoredModules - true if modules with severity
'ignore' should be omitted, false otherwiseCheckstyleException - if an error occurs