Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » core » io » [javadoc | source]
org.springframework.core.io
static class: DefaultResourceLoader.ClassPathContextResource [javadoc | source]
java.lang.Object
   org.springframework.core.io.AbstractResource
      org.springframework.core.io.ClassPathResource
         org.springframework.core.io.DefaultResourceLoader$ClassPathContextResource

All Implemented Interfaces:
    ContextResource, Resource

ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.
Constructor:
 public ClassPathContextResource(String path,
    ClassLoader classLoader) 
Method from org.springframework.core.io.DefaultResourceLoader$ClassPathContextResource Summary:
createRelative,   getPathWithinContext
Methods from org.springframework.core.io.ClassPathResource:
createRelative,   equals,   getClassLoader,   getDescription,   getFile,   getFileForLastModifiedCheck,   getFilename,   getInputStream,   getPath,   getURL,   hashCode
Methods from org.springframework.core.io.AbstractResource:
createRelative,   equals,   exists,   getFile,   getFileForLastModifiedCheck,   getFilename,   getURI,   getURL,   hashCode,   isOpen,   isReadable,   lastModified,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.core.io.DefaultResourceLoader$ClassPathContextResource Detail:
 public Resource createRelative(String relativePath) 
 public String getPathWithinContext()