public class ApexGzipHelper extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ApexGzipHelper() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
compress(String html) |
static boolean |
isGZIPStream(byte[] bytes) |
static String |
toStringCompressed(byte[] bytes) |
static String |
toStringOptCompressed(byte[] bytes) |
public static boolean isGZIPStream(byte[] bytes)
public static String toStringOptCompressed(byte[] bytes) throws IOException
IOExceptionpublic static String toStringCompressed(byte[] bytes) throws IOException
IOExceptionpublic static byte[] compress(String html) throws IOException
IOExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.