Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- File file = new File(this.filename);
- file.createNewFile();
- FileOutputStream out = new FileOutputStream(file);
- GZIPOutputStream gzout = new GZIPOutputStream( new BufferedOutputStream(out, 60*1024) );
- for (String word : this.words) {
- gzout.
- }
- gzout.close();
- out.close();
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement