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

## nextapp.echo2.webrender.util
Class GZipCompressor

    java.lang.Object
      nextapp.echo2.webrender.util.GZipCompressor

    public class GZipCompressor

extends java.lang.Object

Utility class for GZip compression.

Constructor Summary
`GZipCompressor()`

Method Summary
`static byte[]` | `compress(java.lang.String s)` Compresses a String.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GZipCompressor

    public GZipCompressor()

Method Detail

### compress

    public static byte[] compress(java.lang.String s)
                           throws java.io.IOException

  Compresses a String.

  Parameters:
    `s` - the String to compress
  Returns:
    an array of bytes containing GZip-compression output
  Throws:
    `java.io.IOException`

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