org.apache.lucene.store
Class OutputStream
java.lang.Object
|
+--org.apache.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
IOException
writeBytes
public final void writeBytes(byte[] b,
int length)
throws IOException
IOException
writeInt
public final void writeInt(int i)
throws IOException
IOException
writeVInt
public final void writeVInt(int i)
throws IOException
IOException
writeLong
public final void writeLong(long i)
throws IOException
IOException
writeVLong
public final void writeVLong(long i)
throws IOException
IOException
writeString
public final void writeString(String s)
throws IOException
IOException
writeChars
public final void writeChars(String s,
int start,
int length)
throws IOException
IOException
flush
protected final void flush()
throws IOException
IOException
flushBuffer
protected abstract void flushBuffer(byte[] b,
int len)
throws IOException
IOException
close
public void close()
throws IOException
IOException
getFilePointer
public final long getFilePointer()
throws IOException
- RandomAccessFile-like methods @see java.io.RandomAccessFile
IOException
seek
public void seek(long pos)
throws IOException
IOException
length
public abstract long length()
throws IOException
IOException
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.