public class DirScanner extends Object implements URLScanner
URLScanner for file: URLs refer to directories.| Constructor and Description |
|---|
DirScanner() |
| Modifier and Type | Method and Description |
|---|---|
Set<URL> |
additional(URL url)
Returns additional URLs to be scanned in addition to a given URL.
|
boolean |
handles(URL url)
Returns
true if this handler can scan a given URL. |
Set<ClasspathResource> |
scan(URL url)
Scans a given
URL for ClasspathResources. |
public boolean handles(URL url)
URLScannertrue if this handler can scan a given URL.handles in interface URLScannerurl - the URLtrue if this handler can scan the URLpublic Set<URL> additional(URL url)
URLScanneradditional in interface URLScannerurl - the URLpublic Set<ClasspathResource> scan(URL url) throws Exception
URLScannerURL for ClasspathResources.scan in interface URLScannerurl - the URLException - if the URL cannot be scannedCopyright © 2017. All Rights Reserved.