Example usage for org.apache.lucene.analysis.util ResourceLoader interface-usage

List of usage examples for org.apache.lucene.analysis.util ResourceLoader interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.util ResourceLoader interface-usage.

Usage

From source file org.apache.solr.analysis.StringMockResourceLoader.java

/** Fake resource loader for tests: works if you want to fake reading a single file */
class StringMockResourceLoader implements ResourceLoader {
    String text;

    public StringMockResourceLoader(String text) {
        this.text = text;

From source file org.apache.solr.analysis.StringMockSolrResourceLoader.java

class StringMockSolrResourceLoader implements ResourceLoader {
    String text;

    StringMockSolrResourceLoader(String text) {
        this.text = text;
    }

From source file org.apache.solr.common.ResourceLoader.java

/**
 * @deprecated This interface has been kept for backwards compatibility and will
 * be removed in (5.0). Use {@link org.apache.lucene.analysis.util.ResourceLoader}
 */
@Deprecated
public interface ResourceLoader extends org.apache.lucene.analysis.util.ResourceLoader {

From source file org.apache.solr.core.MemClassLoader.java

public class MemClassLoader extends ClassLoader implements AutoCloseable, ResourceLoader {
    static final Logger log = LoggerFactory.getLogger(MemClassLoader.class);
    private boolean allJarsLoaded = false;
    private final SolrResourceLoader parentLoader;
    private List<PluginBag.RuntimeLib> libs = new ArrayList<>();
    private Map<String, Class> classCache = new HashMap<>();

From source file org.apache.solr.core.StringMockSolrResourceLoader.java

class StringMockSolrResourceLoader implements ResourceLoader {
    String text;

    StringMockSolrResourceLoader(String text) {
        this.text = text;
    }

From source file org.hibernate.search.util.impl.HibernateSearchResourceLoader.java

/**
 * Hibernate Search specific implementation of Lucene's {@code ResourceLoader} interface.
 *
 * @author Emmanuel Bernard
 * @author Sanne Grinovero (C) 2011 Red Hat Inc.
 * @author Hardy Ferentschik