public final class CompressionUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
deflate(byte[] tokenBytes) |
static byte[] |
deflate(byte[] tokenBytes,
boolean nowrap) |
static byte[] |
deflate(byte[] tokenBytes,
int level,
boolean nowrap) |
static java.io.InputStream |
inflate(byte[] deflatedToken) |
static java.io.InputStream |
inflate(byte[] deflatedToken,
boolean nowrap) |
public static java.io.InputStream inflate(byte[] deflatedToken)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic static java.io.InputStream inflate(byte[] deflatedToken,
boolean nowrap)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic static byte[] deflate(byte[] tokenBytes)
public static byte[] deflate(byte[] tokenBytes,
boolean nowrap)
public static byte[] deflate(byte[] tokenBytes,
int level,
boolean nowrap)