fr.paris.lutece.plugins.jcr.service.search
Class LazyIndexedContentReader
java.lang.Object
java.io.Reader
fr.paris.lutece.plugins.jcr.service.search.LazyIndexedContentReader
- All Implemented Interfaces:
- Closeable, Readable
public class LazyIndexedContentReader
- extends Reader
Implementation of a lazy reader for indexed content (such as PDF).
The file content is indexed and parsed only when needed.
Method Summary |
void |
close()
|
int |
read(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyIndexedContentReader
public LazyIndexedContentReader(fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer indexer,
InputStream is)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
Copyright © 2014 Mairie de Paris. All Rights Reserved.