Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Create a new file that not exsits orignall?y  RSS feed

 
Steven Zeng
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,All;
I have learned that it is possible to modify the content of a file or create a new directory/file using java File class or RandomAccessFile and so on,but how can i create a new file that not exits orignally and save something in it .I guess this action go against java secuity rules.Who can explain it to me?Thanks in advance!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
steven_shh,
Welcome back to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!