|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PackageDetector
Detects the package or namespace name of a file.
| 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. |
java.lang.String |
detectPackageName(java.lang.String fileName)
Detects the package or namespace name of the specified input stream. |
| Method Detail |
|---|
java.lang.String detectPackageName(java.io.InputStream stream)
stream - the content of the file to scan
java.lang.String detectPackageName(java.lang.String fileName)
fileName - the file name of the file to scan
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 | |||||||||