org.cruxframework.crux.classpath
Class FileURLResourceHandler

java.lang.Object
  extended by org.cruxframework.crux.classpath.AbstractURLResourceHandler
      extended by org.cruxframework.crux.classpath.FileURLResourceHandler
All Implemented Interfaces:
URLResourceHandler

public class FileURLResourceHandler
extends AbstractURLResourceHandler

Author:
Thiago da Rosa de Bustamante

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

Constructor Detail

FileURLResourceHandler

public FileURLResourceHandler()
Method Detail

exists

public boolean exists(URL url)

getProtocol

public String getProtocol()

getParentDir

public URL getParentDir(URL url)

getChildResource

public URL getChildResource(URL url,
                            String path)
Specified by:
getChildResource in interface URLResourceHandler
Overrides:
getChildResource in class AbstractURLResourceHandler

getDirectoryIteratorFactory

public DirectoryIteratorFactory getDirectoryIteratorFactory()


Copyright © 2014. All rights reserved.