public final class ResourceCompressor extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
compress(CharSequence content,
Charset charset)
Compresses the specified content.
|
public static byte[] compress(CharSequence content, Charset charset)
content
- The content to compress.charset
- The Character set to use to encode the char sequence.Copyright © 2016 Allette Systems. All rights reserved.