com.lucene.store
Class OutputStream
java.lang.Object
|
+--com.lucene.store.OutputStream
- public abstract class OutputStream
- extends Object
A random-access output stream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStream
public OutputStream()
writeByte
public final void writeByte(byte b)
throws IOException
- OutputStream-like methods @see java.io.InputStream
writeBytes
public final void writeBytes(byte[] b,
int length)
throws IOException
writeInt
public final void writeInt(int i)
throws IOException
writeVInt
public final void writeVInt(int i)
throws IOException
writeLong
public final void writeLong(long i)
throws IOException
writeVLong
public final void writeVLong(long i)
throws IOException
writeString
public final void writeString(String s)
throws IOException
writeChars
public final void writeChars(String s,
int start,
int length)
throws IOException
flush
protected final void flush()
throws IOException
flushBuffer
protected abstract void flushBuffer(byte[] b,
int len)
throws IOException
close
public void close()
throws IOException
getFilePointer
public final long getFilePointer()
throws IOException
- RandomAccessFile-like methods @see java.io.RandomAccessFile
seek
public void seek(long pos)
throws IOException
length
public abstract long length()
throws IOException