sarkanydavidhu

csoportonkent

Jan 12th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1.     public void csoportonkentfilebair () throws IOException
  2.     {
  3.         int tmp = 0;
  4.         Iterator<PostaiAlkalmazott> i = alkalmazotttomb.iterator();
  5.         while(i.hasNext())
  6.         {
  7.             PrintWriter pw = new PrintWriter(new FileWriter(tmp+"-kudemenyek.txt"));
  8.             pw.println(i.next().toString());
  9.             pw.close();
  10.             tmp++;
  11.         }
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment