Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The below is Below are a couple of quick methods for zipping and unziping java String values.  Optionally (with true as the second param) the method 'chunks' the resulting  base64 encoded zipped string. Chunking just means long lines are broken at a specific column (line feeds inserted) to make the encoded data more easy to manage (think SSH keys).