有没有GZIP J2ME库? [英] Is there a GZIP J2ME library?
问题描述
是否有可以在J2ME上运行的gzip压缩库?
Is there a gzip compression library that will work on J2ME?
推荐答案
尝试 Jazzlib ,虽然它是GPL,但似乎还没有更新一段时间。另一个选择是尝试从 libgcj (这是jazzlib所做的)中提取源代码。 。
Try Jazzlib, although it's GPL, and seems like it hasn't been updated for a while. Another option is to try and lift the source from libgcj (which is what jazzlib did).
J2SE 包括 java.util.zip
可以压缩/解压缩gzip文件,但 MIDP 2.0 规范不包含 java.util.zip
。看一下 java.util.zip
的Java 6源代码,每个类似乎都调用了本机方法,这意味着你不能只提升那些并将其下载到J2ME设备。
J2SE includes java.util.zip
which can compress/decompress gzip files, but the MIDP 2.0 specification does not include a java.util.zip
. And looking at the Java 6 source code for java.util.zip
, each class seems to call native methods, which means you can't just lift what's there and download it to a J2ME device.
这篇关于有没有GZIP J2ME库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!