|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClasspathFilter
Filter for classpath entries.
Provides a mechanism to filter the top-level classpath entries. For example, if
the classpath is jar1.jar:jar2.jar:/home/user/classes:. and each
entry contains the target package, the calls will be:
acceptJarFile(java.util.jar.JarFile) with jar1.jaracceptJarFile(java.util.jar.JarFile) with jar2.jaracceptDirectory(java.io.File) with /home/user/classesacceptDirectory(java.io.File) with .
PackageScanner| Nested Class Summary | |
|---|---|
static class |
ClasspathFilter.AcceptEverythingClasspathFilter
Convenience implementation that doesn't filter anything. |
| Method Summary | |
|---|---|
boolean |
acceptDirectory(java.io.File directory)
return true if the calling PackageScanner should proceed with directory. |
boolean |
acceptJarFile(java.util.jar.JarFile jarFile)
return true if the calling PackageScanner should proceed with jarFile. |
| Method Detail |
|---|
boolean acceptJarFile(java.util.jar.JarFile jarFile)
PackageScanner should proceed with jarFile.
boolean acceptDirectory(java.io.File directory)
PackageScanner should proceed with directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||