org.gcube.common.scan.scanners.url
Class JarJarScanner
java.lang.Object
org.gcube.common.scan.scanners.url.AbstractJarURLScanner
org.gcube.common.scan.scanners.url.JarJarScanner
- All Implemented Interfaces:
- URLScanner
public class JarJarScanner
- extends AbstractJarURLScanner
Specialises AbstractJarURLScanner to jar: 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 |
JarJarScanner
public JarJarScanner()
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.