aspose file tools*
The moose likes I/O and Streams and the fly likes Reading from CD 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 » Java » I/O and Streams
Bookmark "Reading from CD" Watch "Reading from CD" New topic
Author

Reading from CD

Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Hi all,

can we read the cd files via a java programme. I would like to know if there is way we can read the CD-rom file.

Thank you in advance.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Are you using the File API? Did you try it out? What have you got so far?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Mahesh Lohi
Ranch Hand

Joined: Jun 22, 2009
Posts: 150
Thank you for the reply.

I have not started. Help me on how to start on this...
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Use java.io package. especially(File,FileReader/InputStream,FileWriter/OutputStrea, BufferedReader/InputStream and BufferedWriter/OutpurStream)

It has all the classes required to read/write to any stream.


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Recommended reading
http://java.sun.com/docs/books/tutorial/essential/io/

Since this has turned out to be a file i/o question, I will move this to the relevant forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading from CD