|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.file.RecursiveLeafOnlyDirectoryScanner
public class RecursiveLeafOnlyDirectoryScanner
DirectoryScanner that lists all files inside a directory and subdirectories, without limit. This scanner should not be used with directories that contain a vast number of files, as all the file names will be read into memory and the scanning will be done recursively.
Constructor Summary | |
---|---|
RecursiveLeafOnlyDirectoryScanner()
|
Method Summary | |
---|---|
java.io.File[] |
listFiles(java.io.File directory)
Scans the directory according to the strategy particular to this implementation and returns the selected files as a File array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecursiveLeafOnlyDirectoryScanner()
Method Detail |
---|
public java.io.File[] listFiles(java.io.File directory) throws java.lang.IllegalArgumentException
DirectoryScanner
listFiles
in interface DirectoryScanner
directory
- the directory to scan for files
java.lang.IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |