|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.scan.scanners.url.DirScanner
public class DirScanner
Implements URLScanner for file: URLs refer to directories.
| Constructor Summary | |
|---|---|
DirScanner()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirScanner()
| Method Detail |
|---|
public boolean handles(URL url)
URLScannertrue if this handler can scan a given URL.
handles in interface URLScannerurl - the URL
true if this handler can scan the URLpublic Set<URL> additional(URL url)
URLScanner
additional in interface URLScannerurl - the URL
public Set<ClasspathResource> scan(URL url)
throws Exception
URLScannerURL for ClasspathResources.
scan in interface URLScannerurl - the URL
Exception - if the URL cannot be scanned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||