java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.io.StreamWrappers |
Class Overview
Wrappers for output/input IO streams. The compression and encryption algorithm used are not
specified to clients.
TODO: make a non-static version, parameterize with various strategies (optimized for speed,
space, etc.) while keeping the algorithms opaque.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
static
FilterOutputStream
getCompressedStream
(OutputStream out)
public
static
FilterInputStream
getDecryptedStream
(InputStream in, byte[] key)
public
static
FilterInputStream
getDecryptedStream
(InputStream in, String algo, byte[] key)
public
static
FilterOutputStream
getEncryptedStream
(OutputStream out, byte[] key)
public
static
FilterOutputStream
getEncryptedStream
(OutputStream out, String algo, byte[] key)
public
static
FilterInputStream
getUncompressedStream
(InputStream in)