org.kuali.rice.core.util
Class RiceUtilities.AbsoluteFileSystemResourceLoader
java.lang.Object
org.springframework.core.io.DefaultResourceLoader
org.springframework.core.io.FileSystemResourceLoader
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)
Fields inherited from interface org.springframework.core.io.ResourceLoader |
CLASSPATH_URL_PREFIX |
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 |
RiceUtilities.AbsoluteFileSystemResourceLoader
private RiceUtilities.AbsoluteFileSystemResourceLoader()
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.