|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphelps.io.OutputStreams
Utility methods for OutputStreams.
| Field Summary | |
|---|---|
static java.io.OutputStream |
DEVNULL
|
| Method Summary | |
|---|---|
static java.io.OutputStream |
compress(java.io.OutputStream os,
java.lang.String fileOrType)
Wraps os with another stream that compresses it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.io.OutputStream DEVNULL
| Method Detail |
|---|
public static java.io.OutputStream compress(java.io.OutputStream os,
java.lang.String fileOrType)
throws java.io.IOException
fileOrType - filename with compression suffix, or compression type (LZW, gzip, deflate, bzip2).
java.io.IOException
|
Multivalent API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||