• Post Reply Bookmark Topic Watch Topic
  • New Topic

Searching entire hard disk for mp3 files & adding them to list  RSS feed

 
omid azadi
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i want to write a program that scans computer for mp3 files and adds them to a list so i can play them or send them to usb flash.
is there any java class for this actions?
 
Rob Spoor
Sheriff
Posts: 20898
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are even two of them. One is java.io.File, check out its static methods to get all of the roots (if you have multiple disks). The other one is java.nio.file.FileSystem, using java.nio.file.FileSystems to get a reference to the system default.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!