org.kuali.rice.core.util
Class RiceUtilities.AbsoluteFileSystemResourceLoader

java.lang.Object
  extended by org.springframework.core.io.DefaultResourceLoader
      extended by org.springframework.core.io.FileSystemResourceLoader
          extended by org.kuali.rice.core.util.RiceUtilities.AbsoluteFileSystemResourceLoader
All Implemented Interfaces:
org.springframework.core.io.ResourceLoader
Enclosing class:
RiceUtilities

private static class RiceUtilities.AbsoluteFileSystemResourceLoader
extends org.springframework.core.io.FileSystemResourceLoader

The standard Spring FileSystemResourceLoader does not support normal absolute file paths for historical backwards-compatibility reasons. This class simply circumvents that behavior to allow proper interpretation of absolute paths (i.e. not stripping a leading slash)


Field Summary
 
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX
 
Constructor Summary
private RiceUtilities.AbsoluteFileSystemResourceLoader()
           
 
Method Summary
protected  org.springframework.core.io.Resource getResourceByPath(String path)
           
 
Methods inherited from class org.springframework.core.io.DefaultResourceLoader
getClassLoader, getResource, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiceUtilities.AbsoluteFileSystemResourceLoader

private RiceUtilities.AbsoluteFileSystemResourceLoader()
Method Detail

getResourceByPath

protected org.springframework.core.io.Resource getResourceByPath(String path)
Overrides:
getResourceByPath in class org.springframework.core.io.FileSystemResourceLoader


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.