First, I think what you have is a very interesting
idea, however, I'm not sure why you are trying to do
it. It seems like you're reinventing the wheel. The
wheel being gzip functionality. Many browsers can read
gzip files send over the Net, and it should stand to
reason that the file could reside as an archive on the
server.
Anyway, I was hoping you would publish an API spec so
we could see what you're doing/how you're doing it. I
was hoping the class could be used on the server as a
servlet to compress short strings, (and then base64
encode them). The purpose being to protect/objuscate
the lengthy URIs on dynamic pages
(www.example.com/page.php?something=somethingelse&another=34).
Anyway, just a few thoughts.