The Artima Developer Community
Sponsored Link

Java Answers Forum
java input/output file handling

1 reply on 1 page. Most recent reply: Dec 13, 2003 8:28 AM by Senthoorkumaran Punniamoorthy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
maxima

Posts: 15
Nickname: maxima
Registered: Nov, 2003

java input/output file handling Posted: Dec 13, 2003 3:52 AM
Reply to this message Reply
Advertisement
hi i am very much confused with the java file handling.

threre are so many streams... i need to read from a file

in that file i have integers with spaces in between them.

12 14 15 17

17 26 18 20

.............

something like this.


how do i start with????

why there are so many streams??? in fact we need to read from files which will have some data(integer,float etc) or may be stings,chars etc.

is there any general procedure so that i use for both of them???
or simply...
(1) i want to read (integer+float) data file . what is the syntax for this?
(2) i want to read (strings+chars ) data file .what is the syntax for this?
thanks


Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: java input/output file handling Posted: Dec 13, 2003 8:28 AM
Reply to this message Reply
http://www.javaalmanac.com/egs/java.io/pkg.html

Flat View: This topic has 1 reply on 1 page
Topic: anyone can help me (to sign an applet on MacOS X) ? Previous Topic   Next Topic Topic: little help please.  i am sure u could do it in secs.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use