|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.AbstractPackageDetector
hudson.plugins.tasks.util.JavaPackageDetector
public class JavaPackageDetector
Detects the package name of a Java file.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.tasks.util.AbstractPackageDetector |
|---|
UNKNOWN_PACKAGE |
| Constructor Summary | |
|---|---|
JavaPackageDetector()
Creates a new instance of JavaPackageDetector. |
|
| Method Summary | |
|---|---|
boolean |
accepts(java.lang.String fileName)
Returns whether this classifier accepts the specified file for processing. |
java.lang.String |
detectPackageName(java.io.InputStream stream)
Detects the package or namespace name of the specified input stream. |
| Methods inherited from class hudson.plugins.tasks.util.AbstractPackageDetector |
|---|
detectPackageName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaPackageDetector()
JavaPackageDetector.
| Method Detail |
|---|
public java.lang.String detectPackageName(java.io.InputStream stream)
stream - the content of the file to scan
public boolean accepts(java.lang.String fileName)
fileName - the file name
true if the classifier accepts the specified file
for processing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||