List of usage examples for org.springframework.core.io AbstractResource subclass-usage
From source file doge.photo.PhotoResource.java
/**
* Adapter class to convert a {@link Photo} to a Spring {@link Resource}.
*
* @author Josh Long
* @author Phillip Webb
*/
From source file batch.demo.util.InMemoryResource.java
/**
* An in memory implementation of Spring's {@link org.springframework.core.io.Resource} interface.
* <p>Used to create a bean factory from an XML string, rather than a file.</p>
*
* @author Luke Taylor
*/
From source file org.alloy.metal.resource.GeneratedResource.java
/**
* An in memory generated resource. This class also overrides some parent Spring AbstractResource methods to ensure
* compatibility with the {@link ResourceHttpRequestHandler}.
*
* Note that this class <i>intentionally</i> does not subclass Spring's {@link InMemoryResource} and instead has copied
* the fields here because {@link InMemoryResource} does not provide a default constructor. This causes issues when
From source file com.javaetmoi.core.spring.vfs.Vfs2Resource.java
/** * VFS 2 based {@link Resource} implementation. * Supports the corresponding VFS API versions on JBoss AS 5.x and JBoss 5.x EAP. */ public class Vfs2Resource extends AbstractResource {
From source file org.alloy.site.resource.GeneratedResource.java
/**
* An in memory generated resource. This class also overrides some parent Spring AbstractResource methods to ensure
* compatibility with the {@link ResourceHttpRequestHandler}.
*
* Note that this class <i>intentionally</i> does not subclass Spring's {@link InMemoryResource} and instead has copied
* the fields here because {@link InMemoryResource} does not provide a default constructor. This causes issues when
From source file org.broadleafcommerce.common.resource.GeneratedResource.java
/**
* An in memory generated resource. This class also overrides some parent Spring AbstractResource methods to ensure
* compatibility with the {@link ResourceHttpRequestHandler}.
*
* Note that this class <i>intentionally</i> does not subclass Spring's {@link InMemoryResource} and instead has copied
* the fields here because {@link InMemoryResource} does not provide a default constructor. This causes issues when
From source file org.springframework.core.io.ClassPathResource.java
/**
* {@link Resource} implementation for class path resources.
* Uses either a given ClassLoader or a given Class for loading resources.
* <p/>
* <p>Supports resolution as {@code java.io.File} if the class path
* resource resides in the file system, but not for resources in a JAR.
From source file com.asual.summer.core.resource.PropertyResource.java
/**
*
* @author Rostislav Hristov
* @author Rostislav Georgiev
*
*/
From source file org.jboss.spring.vfs.VFSResource.java
/** * VFS based Resource. * * @author <a href="mailto:ales.justin@jboss.com">Ales Justin</a> */ public class VFSResource extends AbstractResource {
From source file org.cruk.genologics.api.impl.URLInputStreamResource.java
/**
* Resource implementation based around a URL. Can be used for any source where
* the URL protocol is supported by the JVM.
*
* @since 2.23
*/