Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1.         try {
  2.             File file = new File(this.filename);
  3.             file.createNewFile();
  4.             FileOutputStream out = new FileOutputStream(file);
  5.             GZIPOutputStream gzout = new GZIPOutputStream( new BufferedOutputStream(out, 60*1024) );
  6.            
  7.             for (String word : this.words) {
  8.                 gzout.
  9.             }
  10.            
  11.             gzout.close();
  12.             out.close();
  13.         } catch (FileNotFoundException e) {
  14.             e.printStackTrace();
  15.         } catch (IOException e) {
  16.             e.printStackTrace();
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement