it's possible to compress file once use any classes in 'java.util.zip'.
The classes are used like following.
it's similar to just file writing. so simple~
The classes are used like following.
FileOutputStream fos = new FileOutputStream(out_path);
GZIPOutputStream gos = new GZIPOutputStream(fos);
gos.write(buffer); gos.flush();
GZIPOutputStream gos = new GZIPOutputStream(fos);
gos.write(buffer); gos.flush();
it's similar to just file writing. so simple~
'Development > Java & Android' 카테고리의 다른 글
MetaWeblog in Java (0) | 2010.09.06 |
---|---|
REST와 OpenAPI (0) | 2010.09.05 |
Killing Thread (0) | 2010.08.27 |
Some tips about Android (0) | 2010.08.25 |
Layout계통의 클래스를 상속했을때 xml파일에서 참조하는법! (0) | 2010.06.13 |