|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.puppycrawl.tools.checkstyle.Configuration
Represents the configuration that checkstyle uses when checking. The configuration is Serializable, however the ClassLoader configuration is lost.
Constructor Summary | |
Configuration()
Creates a new Configuration instance. |
|
Configuration(java.util.Properties aProps,
java.io.PrintStream aLog)
Creates a new Configuration instance. |
Method Summary | |
java.lang.String |
getPackagePat()
|
org.apache.regexp.RE |
getPackageRegexp()
|
java.util.Properties |
getProperties()
|
void |
setClassLoader(java.lang.ClassLoader aLoader)
Set the class loader for locating classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Configuration(java.util.Properties aProps, java.io.PrintStream aLog) throws org.apache.regexp.RESyntaxException, java.io.FileNotFoundException, java.io.IOException
Configuration
instance.
aProps
- where to extract configuration parameters fromaLog
- where to log errors to
org.apache.regexp.RESyntaxException
- if an error occurs
java.io.FileNotFoundException
- if an error occurs
java.io.IOException
- if an error occurspublic Configuration()
Configuration
instance.
java.lang.IllegalStateException
- if an error occursMethod Detail |
public void setClassLoader(java.lang.ClassLoader aLoader)
aLoader
- the class loaderpublic java.util.Properties getProperties()
public java.lang.String getPackagePat()
public org.apache.regexp.RE getPackageRegexp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |