Uses of Interface
org.springframework.core.io.Resource

Packages that use Resource
org.springframework.beans.factory The core package implementing Spring's lightweight Inversion of Control (IoC) container.  
org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories. 
org.springframework.beans.factory.support Classes supporting the org.springframework.beans.factory package.  
org.springframework.beans.factory.xml Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" DTD.  
org.springframework.cache.ehcache Support classes for the open source cache EHCache, allowing to set up an EHCache CacheManager and Caches as beans in a Spring context. 
org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation. 
org.springframework.core.io Generic abstraction for (file-based) resources, used throughout the framework.  
org.springframework.core.io.support Support classes for Spring's resource abstraction, like a ResourcePatternResolver mechanism. 
org.springframework.jdbc.support Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.  
org.springframework.mail.javamail JavaMail support for Spring's mail infrastructure. 
org.springframework.orm.hibernate Package providing integration of Hibernate with Spring concepts.  
org.springframework.orm.ibatis Package providing integration of iBATIS Database Layer with Spring concepts.  
org.springframework.orm.jdo Package providing integration of JDO with Spring concepts.  
org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.  
org.springframework.ui.freemarker Support classes for setting up FreeMarker within a Spring application context. 
org.springframework.ui.velocity Support classes for setting up Velocity within a Spring application context. 
org.springframework.web.context.support Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations, and a utility class for retrieval of the root application context etc. 
org.springframework.web.multipart.commons MultipartResolver implementation for Jakarta Commons FileUpload
org.springframework.web.multipart.cos MultipartResolver implementation for Jason Hunter's COS (com.oreilly.servlet)
org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.  
org.springframework.web.servlet.view.xslt Support classes for XSLT, providing a View implementation for XSLT stylesheets. 
 

Uses of Resource in org.springframework.beans.factory
 

Constructors in org.springframework.beans.factory with parameters of type Resource
BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg)
          Create a new BeanDefinitionStoreException.
BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg, Throwable ex)
          Create a new BeanDefinitionStoreException.
 

Uses of Resource in org.springframework.beans.factory.config
 

Methods in org.springframework.beans.factory.config with parameters of type Resource
 void PropertyResourceConfigurer.setLocation(Resource location)
          Set a location of a properties file to be loaded.
 void PropertyResourceConfigurer.setLocations(Resource[] locations)
          Set locations of properties files to be loaded.
 void PropertiesFactoryBean.setLocation(Resource location)
          Set a location of a properties file to be loaded.
 void PropertiesFactoryBean.setLocations(Resource[] locations)
          Set locations of properties files to be loaded.
 void ResourceFactoryBean.setLocation(Resource location)
          Set the resource location.
 

Uses of Resource in org.springframework.beans.factory.support
 

Methods in org.springframework.beans.factory.support with parameters of type Resource
 int BeanDefinitionReader.loadBeanDefinitions(Resource resource)
          Load bean definitions from the specified resource.
 int BeanDefinitionReader.loadBeanDefinitions(Resource[] resources)
          Load bean definitions from the specified resources.
 int AbstractBeanDefinitionReader.loadBeanDefinitions(Resource[] resources)
           
 int PropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource)
          Load bean definitions from the specified properties file, using all property keys (i.e. not filtering by prefix).
 int PropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource, String prefix)
          Load bean definitions from the specified properties file.
 

Uses of Resource in org.springframework.beans.factory.xml
 

Methods in org.springframework.beans.factory.xml that return Resource
protected  Resource DefaultXmlBeanDefinitionParser.getResource()
           
 

Methods in org.springframework.beans.factory.xml with parameters of type Resource
 int XmlBeanDefinitionReader.loadBeanDefinitions(Resource resource)
          Load bean definitions from the specified XML file.
 int XmlBeanDefinitionReader.registerBeanDefinitions(Document doc, Resource resource)
          Register the bean definitions contained in the given DOM document.
 int DefaultXmlBeanDefinitionParser.registerBeanDefinitions(BeanDefinitionReader reader, Document doc, Resource resource)
           
 int XmlBeanDefinitionParser.registerBeanDefinitions(BeanDefinitionReader reader, Document doc, Resource resource)
          Parse bean definitions from the given DOM document, and register them with the given bean factory.
 

Constructors in org.springframework.beans.factory.xml with parameters of type Resource
XmlBeanFactory(Resource resource)
          Create a new XmlBeanFactory with the given resource, which must be parsable using DOM.
XmlBeanFactory(Resource resource, BeanFactory parentBeanFactory)
          Create a new XmlBeanFactory with the given input stream, which must be parsable using DOM.
 

Uses of Resource in org.springframework.cache.ehcache
 

Methods in org.springframework.cache.ehcache with parameters of type Resource
 void EhCacheManagerFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the EHCache config file.
 

Uses of Resource in org.springframework.context.support
 

Methods in org.springframework.context.support that return Resource
 Resource GenericApplicationContext.getResource(String location)
          This implementation delegates to this context's ResourceLoader if set, falling back to the default superclass behavior else.
protected  Resource FileSystemXmlApplicationContext.getResourceByPath(String path)
          Resolve resource paths as file system paths.
 Resource[] AbstractApplicationContext.getResources(String locationPattern)
           
 

Uses of Resource in org.springframework.core.io
 

Classes in org.springframework.core.io that implement Resource
 class AbstractResource
          Convenience base class for Resource implementations, pre-implementing typical behavior.
 class ClassPathResource
          Resource implementation for class path resources.
 class FileSystemResource
          Resource implementation for java.io.File handles.
 class InputStreamResource
          Resource implementation for a given InputStream.
 class UrlResource
          Resource implementation for java.net.URL locators.
 

Methods in org.springframework.core.io that return Resource
protected  Resource FileSystemResourceLoader.getResourceByPath(String path)
          Resolve resource paths as file system paths.
 Resource DefaultResourceLoader.getResource(String location)
           
protected  Resource DefaultResourceLoader.getResourceByPath(String path)
          Return a Resource handle for the resource at the given path.
 Resource UrlResource.createRelative(String relativePath)
           
 Resource Resource.createRelative(String relativePath)
          Create a resource relative to this resource.
 Resource FileSystemResource.createRelative(String relativePath)
           
 Resource ClassPathResource.createRelative(String relativePath)
           
 Resource AbstractResource.createRelative(String relativePath)
          This implementation throws a FileNotFoundException, assuming that relative resources cannot be created for this resource.
 Resource ResourceLoader.getResource(String location)
          Return a Resource handle for the specified resource.
 

Uses of Resource in org.springframework.core.io.support
 

Methods in org.springframework.core.io.support that return Resource
 Resource PathMatchingResourcePatternResolver.getResource(String location)
           
 Resource[] PathMatchingResourcePatternResolver.getResources(String locationPattern)
           
protected  Resource[] PathMatchingResourcePatternResolver.findAllClassPathResources(String location)
          Find all class location resources with the given location via the ClassLoader.
protected  Resource[] PathMatchingResourcePatternResolver.findPathMatchingResources(String locationPattern)
          Find all resources that match the given location pattern via the Ant-style PathMatcher utility.
 Resource[] ResourcePatternResolver.getResources(String locationPattern)
          Resolve the given location pattern into Resource objects.
 

Methods in org.springframework.core.io.support with parameters of type Resource
protected  List PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource rootDirResource, String subPattern)
          Find all resources in jar files that match the given location pattern via the Ant-style PathMatcher utility.
protected  List PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource, String subPattern)
          Find all resources in the file system that match the given location pattern via the Ant-style PathMatcher utility.
 

Uses of Resource in org.springframework.jdbc.support
 

Methods in org.springframework.jdbc.support that return Resource
protected  Resource SQLErrorCodesFactory.loadResource(String path)
          Protected for testability.
 

Uses of Resource in org.springframework.mail.javamail
 

Methods in org.springframework.mail.javamail with parameters of type Resource
 void MimeMessageHelper.addInline(String contentId, Resource resource)
          Add an inline element to the MimeMessage, taking the content from an org.springframework.core.io.InputStreamResource.
 

Uses of Resource in org.springframework.orm.hibernate
 

Methods in org.springframework.orm.hibernate with parameters of type Resource
 void LocalSessionFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the Hibernate XML config file, for example as classpath resource "classpath:hibernate.cfg.xml".
 void LocalSessionFactoryBean.setMappingLocations(Resource[] mappingLocations)
          Set locations of Hibernate mapping files, for example as classpath resource "classpath:example.hbm.xml".
 void LocalSessionFactoryBean.setMappingJarLocations(Resource[] mappingJarLocations)
          Set locations of jar files that contain Hibernate mapping resources, like "WEB-INF/lib/example.hbm.jar".
 void LocalSessionFactoryBean.setMappingDirectoryLocations(Resource[] mappingDirectoryLocations)
          Set locations of directories that contain Hibernate mapping resources, like "WEB-INF/mappings".
 

Uses of Resource in org.springframework.orm.ibatis
 

Methods in org.springframework.orm.ibatis with parameters of type Resource
 void SqlMapClientFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the iBATIS SqlMapClient config file.
 void SqlMapFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the iBATIS SqlMap config file.
 

Uses of Resource in org.springframework.orm.jdo
 

Methods in org.springframework.orm.jdo with parameters of type Resource
 void LocalPersistenceManagerFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the JDO properties config file, for example as classpath resource "classpath:kodo.properties".
 

Uses of Resource in org.springframework.scheduling.quartz
 

Methods in org.springframework.scheduling.quartz with parameters of type Resource
 void SchedulerFactoryBean.setConfigLocation(Resource configLocation)
          Set the location of the Quartz properties config file, for example as classpath resource "classpath:quartz.properties".
 

Uses of Resource in org.springframework.ui.freemarker
 

Methods in org.springframework.ui.freemarker with parameters of type Resource
 void FreeMarkerConfigurationFactory.setConfigLocation(Resource resource)
          Set the location of the FreeMarker config file.
 

Uses of Resource in org.springframework.ui.velocity
 

Methods in org.springframework.ui.velocity with parameters of type Resource
 void VelocityEngineFactory.setConfigLocation(Resource configLocation)
          Set the location of the Velocity config file.
 

Uses of Resource in org.springframework.web.context.support
 

Classes in org.springframework.web.context.support that implement Resource
 class ServletContextResource
          Resource implementation for ServletContext resources, interpreting relative paths within the web application root.
 

Methods in org.springframework.web.context.support that return Resource
protected  Resource AbstractRefreshableWebApplicationContext.getResourceByPath(String path)
          Resolve file paths beneath the root of the web application.
 Resource ServletContextResource.createRelative(String relativePath)
           
protected  Resource ServletContextResourceLoader.getResourceByPath(String path)
          This implementation supports file paths beneath the root of the web application.
protected  Resource StaticWebApplicationContext.getResourceByPath(String path)
          This implementation supports file paths beneath the root of the ServletContext.
 

Methods in org.springframework.web.context.support with parameters of type Resource
protected  List ServletContextResourcePatternResolver.doFindPathMatchingFileResources(Resource rootDirResource, String subPattern)
          Overridden version which checks for ServletContextResource and uses ServletContext.getResourcePaths to find matching resources below the web application root directory.
 

Uses of Resource in org.springframework.web.multipart.commons
 

Methods in org.springframework.web.multipart.commons with parameters of type Resource
 void CommonsMultipartResolver.setUploadTempDir(Resource uploadTempDir)
          Set the temporary directory where uploaded files get stored.
 

Uses of Resource in org.springframework.web.multipart.cos
 

Methods in org.springframework.web.multipart.cos with parameters of type Resource
 void CosMultipartResolver.setUploadTempDir(Resource uploadTempDir)
          Set the temporary directory where uploaded files get stored.
 

Uses of Resource in org.springframework.web.servlet.view
 

Methods in org.springframework.web.servlet.view with parameters of type Resource
 void XmlViewResolver.setLocation(Resource location)
          Set the location of the XML file that defines the view beans.
 

Uses of Resource in org.springframework.web.servlet.view.xslt
 

Methods in org.springframework.web.servlet.view.xslt with parameters of type Resource
 void AbstractXsltView.setStylesheetLocation(Resource stylesheetLocation)
          Set the location of the XSLT stylesheet.
protected  Source AbstractXsltView.getStylesheetSource(Resource stylesheetLocation)
          Load the stylesheet.
 



Copyright (C) 2003-2004 The Spring Framework Project.