Class marimba.io.RAFOutputStream
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.io.RAFOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----marimba.io.RAFOutputStream
- public class RAFOutputStream
- extends OutputStream
An output stream class which interfaces to a RandomAccessFile.
This is a way to open a file for appending.
- Version:
- 1.6, 10/28/96
- Author:
- Jonathan Payne
-
RAFOutputStream(File)
-
-
RAFOutputStream(RandomAccessFile)
-
-
RAFOutputStream(String)
-
-
close()
-
-
flush()
-
-
getRAF()
-
-
seek(long)
-
-
write(byte[])
-
-
write(byte[], int, int)
-
-
write(int)
-
RAFOutputStream
public RAFOutputStream(String path) throws IOException
RAFOutputStream
public RAFOutputStream(File file) throws IOException
RAFOutputStream
public RAFOutputStream(RandomAccessFile raf)
write
public void write(int b) throws IOException
- Overrides:
- write in class OutputStream
write
public void write(byte b[]) throws IOException
- Overrides:
- write in class OutputStream
write
public void write(byte b[],
int off,
int len) throws IOException
- Overrides:
- write in class OutputStream
flush
public void flush() throws IOException
- Overrides:
- flush in class OutputStream
close
public void close() throws IOException
- Overrides:
- close in class OutputStream
seek
public void seek(long pos) throws IOException
getRAF
public RandomAccessFile getRAF()
All Packages Class Hierarchy This Package Previous Next Index