Package org.opencastproject.adminui.util
Class ClassPathInspector
java.lang.Object
org.opencastproject.adminui.util.ClassPathInspector
- All Implemented Interfaces:
PathInspector
Uses the bundle for finding files in the bundle's classpath.
- Author:
- ademasi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClassPathInspector
public ClassPathInspector() -
ClassPathInspector
public ClassPathInspector(org.osgi.framework.Bundle bundle)
-
-
Method Details
-
listFiles
Description copied from interface:PathInspectorLists all files in a directory (path), if it exists and is readable.- Specified by:
listFilesin interfacePathInspector- Parameters:
path-- Returns:
- A list of all filenames in a directory.
- Throws:
IllegalPathException- If the path does not exist or is not readable.
-