|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jersey.core.spi.scanning.FilesScanner
public class FilesScanner
A scanner that recursively scans directories and jar files.
Files or jar entries are reported to a ScannerListener
.
Constructor Summary | |
---|---|
FilesScanner(java.io.File[] files)
Scan from a set of files. |
Method Summary | |
---|---|
void |
scan(ScannerListener cfl)
Perform a scan and report resources to a scanning listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilesScanner(java.io.File[] files)
files
- an array of files that are either directories or jar files
ending in the suffix '.jar' or '.zip'. Any other type of file
is ignored.Method Detail |
---|
public void scan(ScannerListener cfl)
Scanner
scan
in interface Scanner
cfl
- the scanning listener to report entries.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |