Package 

Class Gzip


  • 
    public class Gzip
    
                        

    GZIP utility definitions.

    • Method Summary

      Modifier and Type Method Description
      static String compressString(String src) Compress string to URL-safe {@code base64} compressed string.
      static String decompressString(String src) Decompress URL-safe {@code base64} encoded compressed string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compressString

         static String compressString(String src)

        Compress string to URL-safe {@code base64} compressed string.

        Parameters:
        src - string to compress
      • decompressString

         static String decompressString(String src)

        Decompress URL-safe {@code base64} encoded compressed string.

        Parameters:
        src - URL-safe {@code base64} encoded compressed string