org.cruxframework.crux.classpath
Class JARURLResourceHandler

java.lang.Object
  extended by org.cruxframework.crux.classpath.AbstractURLResourceHandler
      extended by org.cruxframework.crux.classpath.ZIPURLResourceHandler
          extended by org.cruxframework.crux.classpath.JARURLResourceHandler
All Implemented Interfaces:
PackageFileURLResourceHandler, URLResourceHandler

public class JARURLResourceHandler
extends ZIPURLResourceHandler


Constructor Summary
JARURLResourceHandler()
           
 
Method Summary
 boolean exists(URL url)
           
 DirectoryIteratorFactory getDirectoryIteratorFactory()
           
 URL getPackageFile(URL url)
           
 URL getParentDir(URL url)
           
 String getProtocol()
           
 
Methods inherited from class org.cruxframework.crux.classpath.ZIPURLResourceHandler
getPackageResourceName
 
Methods inherited from class org.cruxframework.crux.classpath.AbstractURLResourceHandler
checkProtocol, getChildResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cruxframework.crux.classpath.URLResourceHandler
getChildResource
 

Constructor Detail

JARURLResourceHandler

public JARURLResourceHandler()
Method Detail

exists

public boolean exists(URL url)
Specified by:
exists in interface URLResourceHandler
Overrides:
exists in class ZIPURLResourceHandler

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface URLResourceHandler
Overrides:
getProtocol in class ZIPURLResourceHandler

getParentDir

public URL getParentDir(URL url)
Specified by:
getParentDir in interface URLResourceHandler
Overrides:
getParentDir in class ZIPURLResourceHandler

getDirectoryIteratorFactory

public DirectoryIteratorFactory getDirectoryIteratorFactory()
Specified by:
getDirectoryIteratorFactory in interface URLResourceHandler
Overrides:
getDirectoryIteratorFactory in class ZIPURLResourceHandler

getPackageFile

public URL getPackageFile(URL url)
Specified by:
getPackageFile in interface PackageFileURLResourceHandler
Overrides:
getPackageFile in class ZIPURLResourceHandler


Copyright © 2015. All rights reserved.