|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.file.DefaultDirectoryScanner
org.springframework.integration.file.HeadDirectoryScanner
public class HeadDirectoryScanner
A custom scanner that only returns the first maxNumberOfFiles
elements from a directory listing. This is useful to limit the number of File
objects in memory and therefore mutually exclusive with AcceptOnceFileListFilter.
| Constructor Summary | |
|---|---|
HeadDirectoryScanner(int maxNumberOfFiles)
|
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.integration.file.DefaultDirectoryScanner |
|---|
listEligibleFiles, 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 HeadDirectoryScanner(int maxNumberOfFiles)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||