• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating files

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are all the classes that can create a file under java.io.*;
I know FILE does..
myFile.createNewFile()
RandomAccessFile does...
myRandomAccessFile("c:\\myFile.txt","rw");
What else does???
-Dale
[ February 25, 2002: Message edited by: Dale DeMott ]
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out FileOutputStream and FileWriter (the constructors).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!