public class CommitOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
CommitOutputStream(java.io.OutputStream sink) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
void |
flush() |
int |
getSize() |
void |
rollback() |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int data) |
public void write(int data)
write in class java.io.OutputStreampublic void write(byte[] buffer,
int offset,
int length)
write in class java.io.OutputStreampublic int getSize()
public void commit()
throws java.io.IOException
java.io.IOExceptionpublic void rollback()
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.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