当前位置: 技术问答>java相关
我想在用Java对若干文件打包,象Linux中的tar文件,不用压缩!!怎么做?
来源: 互联网 发布时间:2015-04-13
本文导语: 朋友如果你知道的话,快告诉我!!!!! | CheckedOutputStream cos = new CheckedOutputStream(new FileOutputStream("C:/test.zip"),new Adler32()); ZipOutputStream zout = new ZipOutputStream(cos); for(int i = 0; i
朋友如果你知道的话,快告诉我!!!!!
|
CheckedOutputStream cos = new CheckedOutputStream(new FileOutputStream("C:/test.zip"),new Adler32());
ZipOutputStream zout = new ZipOutputStream(cos);
for(int i = 0; i
ZipOutputStream zout = new ZipOutputStream(cos);
for(int i = 0; i