org.cruxframework.crux.classpath
Class ZIPURLResourceHandler

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

public class ZIPURLResourceHandler
extends AbstractURLResourceHandler
implements PackageFileURLResourceHandler

Author:
Thiago da Rosa de Bustamante

Constructor Summary
ZIPURLResourceHandler()
           
 
Method Summary
 boolean exists(URL url)
           
 DirectoryIteratorFactory getDirectoryIteratorFactory()
           
 URL getPackageFile(URL url)
           
 String getPackageResourceName(URL url)
           
 URL getParentDir(URL url)
           
 String getProtocol()
           
 
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

ZIPURLResourceHandler

public ZIPURLResourceHandler()
Method Detail

exists

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

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface URLResourceHandler

getParentDir

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

getDirectoryIteratorFactory

public DirectoryIteratorFactory getDirectoryIteratorFactory()
Specified by:
getDirectoryIteratorFactory in interface URLResourceHandler

getPackageFile

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

getPackageResourceName

public String getPackageResourceName(URL url)
Specified by:
getPackageResourceName in interface PackageFileURLResourceHandler


Copyright © 2015. All rights reserved.