|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.file.DefaultDirectoryScanner org.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 or on deep trees, as all the file names will be read into memory and the scanning will be done recursively.
Constructor Summary | |
---|---|
RecursiveLeafOnlyDirectoryScanner()
|
Method Summary | |
---|---|
protected java.io.File[] |
listEligibleFiles(java.io.File directory)
Subclasses may refine the listing strategy by overriding this method. |
Methods inherited from class org.springframework.integration.file.DefaultDirectoryScanner |
---|
listFiles, setFilter, setLocker, tryClaim |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecursiveLeafOnlyDirectoryScanner()
Method Detail |
---|
protected java.io.File[] listEligibleFiles(java.io.File directory) throws java.lang.IllegalArgumentException
DefaultDirectoryScanner
listEligibleFiles
in class DefaultDirectoryScanner
directory
- root directory to use for listing
java.lang.IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |