org.hibernate.search.util.impl
Class HibernateSearchResourceLoader

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

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

Author:
Emmanuel Bernard, Sanne Grinovero (C) 2011 Red Hat Inc.

Constructor Summary
HibernateSearchResourceLoader()
           
HibernateSearchResourceLoader(String charset)
           
 
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()

HibernateSearchResourceLoader

public HibernateSearchResourceLoader(String charset)
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


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved