Interface ClassNameLocator
-
- All Known Implementing Classes:
ClassNameLocatorImpl
public interface ClassNameLocator
Scans the classpath for top-level classes within particular packages.- See Also:
ClasspathURLConverter
,ClasspathScanner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
locateClassNames(java.lang.String packageName)
Searches for all classes under the given package name.
-
-
-
Method Detail
-
locateClassNames
java.util.Collection<java.lang.String> locateClassNames(java.lang.String packageName)
Searches for all classes under the given package name. This consists of all top-level classes in the indicated package (or any sub-package), but excludes inner classes. No other filtering (beyond inner classes) occurs, so there's no guarantee that the class names returned are public (for example).- Parameters:
packageName
- the name of the package to be inspected.- Returns:
- fully qualified class names
-
-