Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading from CD

 
Mahesh Lohi
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the File API? Did you try it out? What have you got so far?
 
Mahesh Lohi
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the reply.

I have not started. Help me on how to start on this...
 
Siva Masilamani
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic