org.erowid.sperosearch.splitindex
Class SplitIndexLuceneInputStream

java.lang.Object
  extended byorg.apache.lucene.store.InputStream
      extended byorg.erowid.sperosearch.splitindex.SplitIndexLuceneInputStream
All Implemented Interfaces:
Cloneable

public class SplitIndexLuceneInputStream
extends InputStream
implements Cloneable

An input stream, based on SplitIndexFileInputStream for Lucene.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/splitindex/SplitIndexLuceneInputStream.java,v 1.1 2005/06/02 06:07:58 gurustu Exp $
Author:
: $Author: gurustu $

Field Summary
 
Fields inherited from class org.apache.lucene.store.InputStream
length
 
Constructor Summary
SplitIndexLuceneInputStream(SplitIndexFileInputStream inputStream)
          Creates a(n) SplitIndexLuceneInputStream object.
 
Method Summary
 Object clone()
           
 void close()
           
protected  void readInternal(byte[] b, int offset, int len)
           
protected  void seekInternal(long pos)
           
 
Methods inherited from class org.apache.lucene.store.InputStream
getFilePointer, length, readByte, readBytes, readChars, readInt, readLong, readString, readVInt, readVLong, seek
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitIndexLuceneInputStream

public SplitIndexLuceneInputStream(SplitIndexFileInputStream inputStream)
Creates a(n) SplitIndexLuceneInputStream object.

Method Detail

readInternal

protected void readInternal(byte[] b,
                            int offset,
                            int len)
                     throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

clone

public Object clone()

seekInternal

protected void seekInternal(long pos)
                     throws IOException
Throws:
IOException

spero logo small Sperowider is
© 2005 Erowid.org