org.hibernate.search.util
Class HibernateSearchResourceLoader

java.lang.Object
  extended by org.hibernate.search.util.HibernateSearchResourceLoader
All Implemented Interfaces:
org.apache.solr.common.ResourceLoader

public class HibernateSearchResourceLoader
extends Object
implements org.apache.solr.common.ResourceLoader

Author:
Emmanuel Bernard

Constructor Summary
HibernateSearchResourceLoader()
           
 
Method Summary
 List<String> getLines(String resource)
           
 Object newInstance(String cname, String... subpackages)
           
 InputStream openResource(String resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSearchResourceLoader

public HibernateSearchResourceLoader()
Method Detail

openResource

public InputStream openResource(String resource)
                         throws IOException
Specified by:
openResource in interface org.apache.solr.common.ResourceLoader
Throws:
IOException

getLines

public List<String> getLines(String resource)
                      throws IOException
Specified by:
getLines in interface org.apache.solr.common.ResourceLoader
Throws:
IOException

newInstance

public Object newInstance(String cname,
                          String... subpackages)
Specified by:
newInstance in interface org.apache.solr.common.ResourceLoader