org.gcube.common.scan.scanners.url
Class JarFileScanner
java.lang.Object
org.gcube.common.scan.scanners.url.AbstractJarURLScanner
org.gcube.common.scan.scanners.url.JarFileScanner
- All Implemented Interfaces:
- URLScanner
public class JarFileScanner
- extends AbstractJarURLScanner
Specialises AbstractJarURLScanner to file: URLs that refer to JAR files.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarFileScanner
public JarFileScanner()
handles
public boolean handles(URL url)
- Description copied from interface:
URLScanner
- Returns
true if this handler can scan a given URL.
- Parameters:
url - the URL
- Returns:
true if this handler can scan the URL
toFile
protected JarFile toFile(URL url)
throws Exception
- Specified by:
toFile in class AbstractJarURLScanner
- Throws:
Exception
Copyright © 2014. All Rights Reserved.