Example usage for org.springframework.core.io ResourceLoader interface-usage

List of usage examples for org.springframework.core.io ResourceLoader interface-usage

Introduction

In this page you can find the example usage for org.springframework.core.io ResourceLoader interface-usage.

Usage

From source file com.ms.commons.test.integration.apachexmlparse.internal.LocalResourceLoader.java

/**
 * @author zxc Apr 13, 2013 11:46:20 PM
 */
public class LocalResourceLoader implements ResourceLoader {

    private static ConcurrentMap<String, String> DTD_MAP = new ConcurrentHashMap<String, String>();

From source file org.apache.uima.ruta.resource.ResourcePathResourceLoader.java

/**
 * Load a resource from resource paths.
 */
public class ResourcePathResourceLoader implements ResourceLoader {
    private final String[] resourcePaths;

From source file org.apache.uima.ruta.resource.RutaResourceLoader.java

/**
 * Resource loader for ruta.
 *
 * This resource loader first looks in the resource paths and fallback in the classpath if it is not found.
 */
public class RutaResourceLoader implements ResourceLoader {

From source file org.apache.james.container.spring.resource.JamesResourceLoader.java

/**
 * {@link ResourceLoader} which offer extra methods to retrieve the Path to all
 * important Directories, which are in use by JAMES.
 */
public interface JamesResourceLoader extends ResourceLoader {

From source file com.sxthsenseapp.api.s3propertyloader.S3ResourceLoader.java

public class S3ResourceLoader implements ResourceLoader {

    private static final String LOCATION_PREFIX = "s3://";
    private static final String ENVIRONMENT_VARIABLE_PREFIX = "S3_CONFIG_RES_";
    private final Logger log = LoggerFactory.getLogger(getClass());

From source file com.github.mjeanroy.springmvc.view.mustache.core.CompositeResourceLoader.java

/**
 * Implementation of spring {@link org.springframework.core.io.ResourceLoader}
 * that will use internally a set of resource loaders.
 * When a resource is requested, each resources loaders will be queried until one find
 * an existing resources.
 * If no one find an existing resource, the last computed resource is returned.