This week's book giveaway is in the
We're giving away four copies of
and have Rami Sarieddine on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
using a RandomAccessFile
Joined: Oct 06, 2008
Feb 18, 2009 23:58:39
Does a RandomAccessFile() class create a new file if the file mentioned does not exist
[b] RandomAccessFile raf = new RandomAccessFile("d:/ka3/File1.txt", rw);[/b]
Does the above code create the 'File1.txt' in the ka3 folder if i call the above code in a method throwing IOException, if the file does not exist.
Thanks in advance,
Joined: Mar 22, 2005
Feb 19, 2009 00:26:02
The javadocs of the RandomAccessFile constructors answer this question.
Ping & DNS
- my free Android networking tools app
I agree. Here's the link:
subject: using a RandomAccessFile
Problem when executing runnable jar file.
renameTo method in io package...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014