com.ochafik.net
Class URLUtils

java.lang.Object
  extended by com.ochafik.net.URLUtils

public class URLUtils
extends Object


Constructor Summary
URLUtils()
           
 
Method Summary
static URL getResource(Class<?> cl, String path)
           
static List<URL> listFiles(URL directory, Filter<String> pathAccepter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLUtils

public URLUtils()
Method Detail

getResource

public static URL getResource(Class<?> cl,
                              String path)
                       throws IOException
Throws:
IOException

listFiles

public static List<URL> listFiles(URL directory,
                                  Filter<String> pathAccepter)
                           throws IOException
Throws:
IOException


Copyright © 2009. All Rights Reserved.