com.metapossum.utils.scanner
Class ClasspathFilter.AcceptEverythingClasspathFilter

java.lang.Object
  extended by com.metapossum.utils.scanner.ClasspathFilter.AcceptEverythingClasspathFilter
All Implemented Interfaces:
ClasspathFilter
Enclosing interface:
ClasspathFilter

public static class ClasspathFilter.AcceptEverythingClasspathFilter
extends java.lang.Object
implements ClasspathFilter

Convenience implementation that doesn't filter anything.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metapossum.utils.scanner.ClasspathFilter
ClasspathFilter.AcceptEverythingClasspathFilter
 
Constructor Summary
ClasspathFilter.AcceptEverythingClasspathFilter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathFilter.AcceptEverythingClasspathFilter

public ClasspathFilter.AcceptEverythingClasspathFilter()
Method Detail

acceptJarFile

public boolean acceptJarFile(java.util.jar.JarFile jarFile)
Description copied from interface: ClasspathFilter
return true if the calling PackageScanner should proceed with jarFile.

Specified by:
acceptJarFile in interface ClasspathFilter

acceptDirectory

public boolean acceptDirectory(java.io.File directory)
Description copied from interface: ClasspathFilter
return true if the calling PackageScanner should proceed with directory.

Specified by:
acceptDirectory in interface ClasspathFilter


Copyright © 2011. All Rights Reserved.