Package org.springmodules.lucene.index.core

Examples of org.springmodules.lucene.index.core.InputStreamDocumentCreatorWithManager


      }
    });
  }

  public void addDocument(final FileDocumentHolder holder) {
    getLuceneIndexTemplate().addDocument(new InputStreamDocumentCreatorWithManager(getDocumentHandlerManager()) {
      public InputStream createInputStream() throws IOException {
        return new ByteArrayInputStream(holder.getFile());
      }

      protected String getResourceName() {
View Full Code Here

TOP

Related Classes of org.springmodules.lucene.index.core.InputStreamDocumentCreatorWithManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.