org.webframe.support.util
Class ResourceUtils

java.lang.Object
  extended by org.springframework.util.ResourceUtils
      extended by org.webframe.support.util.ResourceUtils

public class ResourceUtils
extends org.springframework.util.ResourceUtils

ResourceUtils

Since:
2012-4-27 下午1:50:44
Version:
Author:
黄国庆

Field Summary
 
Fields inherited from class org.springframework.util.ResourceUtils
CLASSPATH_URL_PREFIX, FILE_URL_PREFIX, JAR_URL_SEPARATOR, URL_PROTOCOL_CODE_SOURCE, URL_PROTOCOL_FILE, URL_PROTOCOL_JAR, URL_PROTOCOL_VFS, URL_PROTOCOL_VFSZIP, URL_PROTOCOL_WSJAR, URL_PROTOCOL_ZIP
 
Constructor Summary
ResourceUtils()
           
 
Method Summary
static List<URL> getUrls(String path)
           
static List<org.springframework.core.io.Resource> loadResources(List<JarURLConnection> urls, String pattern)
           
 
Methods inherited from class org.springframework.util.ResourceUtils
extractJarFileURL, getFile, getFile, getFile, getFile, getFile, getURL, isFileURL, isJarURL, isUrl, toURI, toURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceUtils

public ResourceUtils()
Method Detail

getUrls

public static List<URL> getUrls(String path)
                         throws IOException
Throws:
IOException

loadResources

public static List<org.springframework.core.io.Resource> loadResources(List<JarURLConnection> urls,
                                                                       String pattern)
                                                                throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.