public class MutableOutputStream extends OutputStream
| Constructor and Description |
|---|
MutableOutputStream(OutputStream s,
int bufsiz) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
getBufferCap() |
int |
getBufferedByte(int pos) |
int |
getBufferLen() |
int |
setBufferedByte(int pos,
int val) |
void |
truncateBy(int len) |
void |
write(byte[] wbuf,
int woff,
int wlen) |
void |
write(int val) |
writepublic MutableOutputStream(OutputStream s, int bufsiz)
public int getBufferCap()
public int getBufferLen()
public void write(int val)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] wbuf,
int woff,
int wlen)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void truncateBy(int len)
public int getBufferedByte(int pos)
public int setBufferedByte(int pos,
int val)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.