private class FileSchemeResourceFinderFactory.FileSchemeScanner extends AbstractResourceFinderAdapter
| Modifier and Type | Field and Description |
|---|---|
private CompositeResourceFinder |
compositeResourceFinder |
private boolean |
recursive |
| Modifier | Constructor and Description |
|---|---|
private |
FileSchemeScanner(java.net.URI uri,
boolean recursive) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Default implementation of
#close() which does nothing. |
boolean |
hasNext() |
java.lang.String |
next() |
java.io.InputStream |
open()
Open current resource.
|
private void |
processFile(java.io.File f) |
void |
reset()
Reset the
ResourceFinder instance. |
removeprivate final CompositeResourceFinder compositeResourceFinder
private final boolean recursive
public boolean hasNext()
public java.lang.String next()
public java.io.InputStream open()
ResourceFinderpublic void close()
AbstractResourceFinderAdapter#close() which does nothing.close in interface java.lang.AutoCloseableclose in interface ResourceFinderclose in class AbstractResourceFinderAdapterpublic void reset()
ResourceFinderResourceFinder instance.
Upon calling this method the implementing class MUST reset its internal state to the initial state.private void processFile(java.io.File f)