quadbase.common.util.internal
Class QbFileOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--quadbase.common.util.internal.QbFileOutputStream
- public class QbFileOutputStream
- extends java.io.OutputStream
|
Method Summary |
void |
close()
|
void |
flush()
In client-server mode, calling this method will not actually force all buffered
bytes to the server. |
int |
getBufferSize()
|
void |
setBufferSize(int size)
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QbFileOutputStream
public QbFileOutputStream(java.lang.String fname)
throws java.io.IOException
QbFileOutputStream
public QbFileOutputStream(java.lang.String fname,
boolean append)
throws java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
write
public void write(int b)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
flush
public void flush()
throws java.io.IOException
- In client-server mode, calling this method will not actually force all buffered
bytes to the server. The number of buffered bytes must exceed the buffer
capacity before they are sent to the server.
- Overrides:
flush in class java.io.OutputStream
close
public void close()
throws java.io.IOException
- Overrides:
close in class java.io.OutputStream
setBufferSize
public void setBufferSize(int size)
getBufferSize
public int getBufferSize()