Create Zip-File in java without using byte[] -
in programm, generate multiple csv-files want publish on webpage 1 .zip file. want use java 1.6 on server.
at moment, can create .csv file without problems. want write content of bufferedwriter, use create csv-file, write directly zip-file (without storing csv file).
i found tutorials creating zip archive in java , http://www.mkyong.com/java/how-to-compress-files-in-zip-format/ , want more or less same in application, don't byte-arrays.
can avoid byte-arrays?
its not possible since using outstream. because outstreams dealing byte write.
normally 2 ways i/o present. 1 stream based (byte), reader(char) based. zip contains stream based implementation.
Comments
Post a Comment