public byte[] compress(byte[] data) throws CompressException {
        ByteArrayInputStream input = new ByteArrayInputStream(data);
        ByteArrayOutputStream output = new ByteArrayOutputStream();
        try {
            this.compressTo(input, output);
            return output.toByteArray();
        } finally {
            IOUtils.closeQuietly(input);
            IOUtils.closeQuietly(output);
        }
    }
Returns a String with the default file extension for this compressor. For example, a zip-files default file
extension would be "zip" (without leading dot).

@return the default file extension
node/etl/src/main/java/com/alibaba/otter/node/etl/common/io/compress/impl/AbstractCompressor.java