public final class CompressionUtils extends 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 InputStream |
inflate(byte[] deflatedToken) |
static InputStream |
inflate(byte[] deflatedToken,
boolean nowrap) |
public static InputStream inflate(byte[] deflatedToken) throws DataFormatException
DataFormatException
public static InputStream inflate(byte[] deflatedToken, boolean nowrap) throws DataFormatException
DataFormatException
public static byte[] deflate(byte[] tokenBytes)
public static byte[] deflate(byte[] tokenBytes, boolean nowrap)
public static byte[] deflate(byte[] tokenBytes, int level, boolean nowrap)
Copyright © 2016 JBoss by Red Hat. All rights reserved.