Package org.apache.lucene.store
Class FSDirectory.FSIndexOutput
- java.lang.Object
-
- org.apache.lucene.store.IndexOutput
-
- org.apache.lucene.store.BufferedIndexOutput
-
- org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- Enclosing class:
- FSDirectory
protected static class FSDirectory.FSIndexOutput extends org.apache.lucene.store.BufferedIndexOutput
-
-
Constructor Summary
Constructors Constructor Description FSIndexOutput(java.io.File path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflushBuffer(byte[] b, int offset, int size)output methods:longlength()voidseek(long pos)Random-access methodsvoidsetLength(long length)-
Methods inherited from class org.apache.lucene.store.BufferedIndexOutput
flush, getFilePointer, writeByte, writeBytes
-
-
-
-
Method Detail
-
flushBuffer
public void flushBuffer(byte[] b, int offset, int size) throws java.io.IOExceptionoutput methods:- Specified by:
flushBufferin classorg.apache.lucene.store.BufferedIndexOutput- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Overrides:
closein classorg.apache.lucene.store.BufferedIndexOutput- Throws:
java.io.IOException
-
seek
public void seek(long pos) throws java.io.IOExceptionRandom-access methods- Overrides:
seekin classorg.apache.lucene.store.BufferedIndexOutput- Throws:
java.io.IOException
-
length
public long length() throws java.io.IOException- Specified by:
lengthin classorg.apache.lucene.store.BufferedIndexOutput- Throws:
java.io.IOException
-
setLength
public void setLength(long length) throws java.io.IOException- Overrides:
setLengthin classorg.apache.lucene.store.IndexOutput- Throws:
java.io.IOException
-
-