net.csdn.modules.compress.lzf
Class LZFOutputStream
java.lang.Object
java.io.OutputStream
net.csdn.modules.compress.lzf.LZFOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class LZFOutputStream
- extends OutputStream
- Author:
- jon hartlaub, tatu
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] buffer,
int offset,
int length)
|
void |
write(int singleByte)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_outputStream
protected final OutputStream _outputStream
_outputBuffer
protected byte[] _outputBuffer
_position
protected int _position
LZFOutputStream
public LZFOutputStream(OutputStream outputStream)
write
public void write(int singleByte)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class OutputStream
- Throws:
IOException
Copyright © 2014. All Rights Reserved.