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 BufferedIndexOutput
Method Summary |
void |
close()
Closes this stream to further operations. |
void |
flushBuffer(byte[] b,
int offset,
int size)
output methods: |
long |
length()
The number of bytes in the file. |
void |
seek(long pos)
Random-access methods |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSDirectory.FSIndexOutput
public FSDirectory.FSIndexOutput(File path)
throws IOException
- Throws:
IOException
flushBuffer
public void flushBuffer(byte[] b,
int offset,
int size)
throws IOException
- output methods:
- Specified by:
flushBuffer
in class BufferedIndexOutput
- Parameters:
b
- the bytes to writeoffset
- the offset in the byte arraysize
- the number of bytes to write
- Throws:
IOException
close
public void close()
throws IOException
- Description copied from class:
BufferedIndexOutput
- Closes this stream to further operations.
- Overrides:
close
in class BufferedIndexOutput
- Throws:
IOException
seek
public void seek(long pos)
throws IOException
- Random-access methods
- Overrides:
seek
in class BufferedIndexOutput
- Throws:
IOException
- See Also:
BufferedIndexOutput.getFilePointer()
length
public long length()
throws IOException
- Description copied from class:
BufferedIndexOutput
- The number of bytes in the file.
- Specified by:
length
in class BufferedIndexOutput
- Throws:
IOException
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.