IntelliJ Java IDE
The moose likes I/O and Streams and the fly likes Creating files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "Creating files" Watch "Creating files" New topic
Author

Creating files

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 512
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 ]

By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18652
Check out FileOutputStream and FileWriter (the constructors).


"I'm not back." - Bill Harding, Twister
 
 
subject: Creating files
 
Threads others viewed
how to create users in JBoss ?
Corrupt PDF Files
Help w/ System.err
Java class
sendRedirect and returnRequest
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture