public class IRandomAccessOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
java.io.RandomAccessFile |
file |
| Constructor and Description |
|---|
IRandomAccessOutputStream(java.io.File f) |
IRandomAccessOutputStream(java.lang.String f) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
pointer() |
void |
seek(long l) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int i) |
public IRandomAccessOutputStream(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic IRandomAccessOutputStream(java.io.File f)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int i)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void seek(long l)
throws java.io.IOException
java.io.IOExceptionpublic long pointer()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException