Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## phelps.io
Class OutputStreams

    java.lang.Object
      phelps.io.OutputStreams

public class OutputStreams
extends java.lang.Object

Utility methods for `OutputStream`s.

- `DEVNULL`

Version:
  $Revision: 1.1 $ $Date: 2003/08/17 14:24:28 $

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

### DEVNULL

    public static final java.io.OutputStream DEVNULL

Method Detail

### compress

    public static java.io.OutputStream compress(java.io.OutputStream os,
                                                java.lang.String fileOrType)
                                         throws java.io.IOException

  Wraps os with another stream that compresses it.

  Parameters:
    `fileOrType` - filename with compression suffix, or compression type (`LZW`, `gzip`, `deflate`, `bzip2`).
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD