Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果来自apache commons compress lib中的ArchiveInputStream的ArchiveEntry是否有可能是另一个Archive,那么我可以将该archiveEntry解压缩到内存中吗?
谢谢
对的,这是可能的。与流一起使用的 API 将与ByteArrayInputStream和一起使用ByteArrayOutputStream。
ByteArrayInputStream
ByteArrayOutputStream
如果你展示你现在正在做什么的代码示例,我会给你一个更具体的答案,但想法是将未压缩的数据读入一个字节数组,然后ByteArrayInputStream从中创建一个并将其提供给第二个ArchiveInputStream.
ArchiveInputStream
我想做这样的事情(来源 - CSS技巧文章):
#veinte { color/*\**/: blue\9; }
1 iphone - UIWebView:应用程序旋转
1 django - Gunicorn Supervisor 启动错误
0 android - Maven 安卓插件
8 java - 睡眠并检查直到条件为真
Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641