|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.tukaani.xz.FinishableOutputStream
org.tukaani.xz.FinishableWrapperOutputStream
public class FinishableWrapperOutputStream
Wraps an output stream to a finishable output stream for use with raw encoders. This is not needed for XZ compression and thus most people will never need this.
Field Summary | |
---|---|
protected OutputStream |
out
The OutputStream that has been
wrapped into a FinishableWrapperOutputStream. |
Constructor Summary | |
---|---|
FinishableWrapperOutputStream(OutputStream out)
Creates a new output stream which support finishing. |
Method Summary | |
---|---|
void |
close()
Calls out.close() . |
void |
flush()
Calls out.flush() . |
void |
write(byte[] buf)
Calls out.write(buf) . |
void |
write(byte[] buf,
int off,
int len)
Calls out.write(buf, off, len) . |
void |
write(int b)
Calls out.write(b) . |
Methods inherited from class org.tukaani.xz.FinishableOutputStream |
---|
finish |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OutputStream out
OutputStream
that has been
wrapped into a FinishableWrapperOutputStream.
Constructor Detail |
---|
public FinishableWrapperOutputStream(OutputStream out)
finish()
method will do nothing.
Method Detail |
---|
public void write(int b) throws IOException
out.write(b)
.
write
in class OutputStream
IOException
public void write(byte[] buf) throws IOException
out.write(buf)
.
write
in class OutputStream
IOException
public void write(byte[] buf, int off, int len) throws IOException
out.write(buf, off, len)
.
write
in class OutputStream
IOException
public void flush() throws IOException
out.flush()
.
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
out.close()
.
close
in interface Closeable
close
in class OutputStream
IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |