aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes I/O is killing  me ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "I/O is killing  me !" Watch "I/O is killing  me !" New topic
Author

I/O is killing me !

Ivan Ivanoff
Ranch Hand

Joined: Jan 04, 2002
Posts: 56
Hi all ,
I/O is killing me !
How much of I/O we need to know ?
PrintWriter / PrintStream ? a must ?
Please, any advice will help me a lot .
System.out.print(“THANX!“ ;
Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213
I personally would know the following, but I have not taken the test yet, so take this as what I am doing and not what may or may not get you past the exam.
File
FileInputStream
FileOutputStream
RandomAccessFile
DataInputStream
DataOutputStream
BufferedOutputStream
BufferedInputStream
OutputStreamWriter
InputStreamWriter
PrintWriter
PrintReader
PushbackInputStream
FileReader
FileWriter
Anything else that should be added to the list guys?
-Matt


-Matt<br /> SCJP2<br /> SCJD
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
IO is typically one of those objective where you really need to write some code for each class. If you just read books and docs it's not gonna help you much. Write some code and you'll soon begin to know how IO works and what IO classes provide, etc.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello
A knowledge of the whole I/O Hiearchy is required.
How are I/O classes related to each other.
Know everything about the File class. Also do not forget about FileDescriptor.
Hope this helps!
-Amish
Originally posted by Ivan Ivanoff:
Hi all ,
I/O is killing me !
How much of I/O we need to know ?
PrintWriter / PrintStream ? a must ?
Please, any advice will help me a lot .
System.out.print(“THANX!“ ;
Tosin Adedoyin
Ranch Hand

Joined: Nov 09, 2001
Posts: 43
Hi Ivan
I agree with valentin . i felt the same way when i started on i/ o it looks to like it has so many subclasses and methods but i am getting a hang of it now code code code . play around with alot of the methods and see how it works and i think doing that sticks better than reading any text books
Ivan Ivanoff
Ranch Hand

Joined: Jan 04, 2002
Posts: 56
ANYBODY HAVE A GOOD I/O TUTORIALS/NOTES WITH CODE SAMPLES? PLEASE !
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You may want to start by the Java tutorial:
http://java.sun.com/docs/books/tutorial/essential/io/index.html
Ivan Ivanoff
Ranch Hand

Joined: Jan 04, 2002
Posts: 56
THANK YOU VALENTIN , I READ SUNS TUTORIAL 2 TIMES ... but they are not covering Readers / Writers - any other recomendations please
Ivan Ivanoff
Ranch Hand

Joined: Jan 04, 2002
Posts: 56
Or may be I need to know only these suns objectives and nothing else - what do you think ? Do we need to know more i/o stuff?
thx
=============================================
Write code that uses objects of the file class to navigate a file system.
Write code that uses objects of the classes InputStreamReader and OutputStreamWriter to translate between Unicode and either platform default or ISO 8859-1 character encodings.
Distinguish between conditions under which platform default encoding conversion should be used and conditions under which a specific conversion should be used
Select valid constructor arguments for subclasses from a list of classes in the java.io.package.
Write appropriate code to read, write and update files using FileInputStream, FileOutputStream, and RandomAccessFile objects.
=============================================
Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213

Distinguish between conditions under which platform default encoding conversion should be used and conditions under which a specific conversion should be used

I like to hear some thoughts on this topic.
-Matt
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
It never hurts to know more than required
other tutorials:
http://www.cosc.brocku.ca/mentor/javaiotutorial.htm
http://www.jchq.net/tutorial/11_01Tut.htm (lots of links at the end)
http://www.artima.com/javaseminars/modules/IO/index.html
[ March 21, 2002: Message edited by: Valentin Crettaz ]
Tosin Adedoyin
Ranch Hand

Joined: Nov 09, 2001
Posts: 43
i also found this site useful
http://www.ibiblio.org/javafaq/course/week10/index.html
also ibm has some freee online tutorials you can register and read these . hope this helps
[ March 21, 2002: Message edited by: Tosin Adedoyin ]
[ March 21, 2002: Message edited by: Tosin Adedoyin ]
Ivan Ivanoff
Ranch Hand

Joined: Jan 04, 2002
Posts: 56
THANK YOU ALL !!!
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Privet, Vanya:-)
The most useful I/O resourse is Khalid Mugal's Book (Chapter 18): you can download it in PDF format.
I/O from Khalid Mugal's Book
BTW, you can find his mock exam.:-)
P.S. etot chapter men ochen pomoq...
Jamal
Uday Kumar
Greenhorn

Joined: Jan 22, 2002
Posts: 24
You might want to check out introduction (or 1st, cant recollect now) chapter in "Java I/O" book.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I/O is killing me !