I'm looking for a Java compression library that:
- is good for XML
- has a small footprint
- is fast (rather than achieves high compression ratio - speed is more important)
- easy to use
What do you guys suggest?
Thanks
I'm looking for a Java compression library that:
What do you guys suggest?
Thanks
There are XML minifiers, but for compression, XML is just plain text, very verbose and repetitive, but still only plain text. You will have to look at something like gzip, or any other general compression library and try them, there is no such thing as an XML specific compression library.
Java has some built in classes that can be used for the type of compression you're contemplating.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/Deflater.html http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/Inflater.html