Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

open an existing file

Thread view: 
Regina - 17 Nov 2005 14:59 GMT
How I can open an existing file?
Thank you.
mrandywarner@gmail.com - 17 Nov 2005 15:21 GMT
File file = new File(filePathName);
FileInputStream inStream = new FileInputStream(file);
Regina - 17 Nov 2005 15:49 GMT
Thank you.
How can I write on append mode, now?
Roedy Green - 17 Nov 2005 15:55 GMT
>Thank you.
>How can I write on append mode, now?

see http://mindprod.com/applets//fileio.html

That link will answer almost any conceivable question about the i/o
classes by generating you code.  It handles everything but nio.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

mrandywarner@gmail.com - 17 Nov 2005 17:58 GMT
File outputFile = new File(filePath);
FileOutputStream outStream = new FileOutputStream(ouputFile, true);
Regina - 18 Nov 2005 08:35 GMT
Thank you everyone!
Roedy Green - 17 Nov 2005 15:54 GMT
>How I can open an existing file?
>Thank you.

see http://mindprod.com/applets/fileio.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.