|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.MavenModuleDetector
public final class MavenModuleDetector
Detects maven module names by parsing the name of a source file.
| Constructor Summary | |
|---|---|
MavenModuleDetector()
|
|
| Method Summary | |
|---|---|
java.lang.String |
guessModuleName(java.lang.String fileName)
Guesses a maven module name based on the source folder. |
void |
setFileInputStreamFactory(FileInputStreamFactory fileInputStreamFactory)
Sets the factory to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MavenModuleDetector()
| Method Detail |
|---|
public void setFileInputStreamFactory(FileInputStreamFactory fileInputStreamFactory)
fileInputStreamFactory - the value to setpublic java.lang.String guessModuleName(java.lang.String fileName)
fileName - the absolute path of the file (UNIX style) to guess the module
for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||