Reputation: 40062
I am trying to do this
File file = new File("/Users/Jon/Downloads/mynewalbum/artist - title.mp3");
I don't think its correct though as the properties returned don't seem correct. Maybe I have got a backslash or something wrong?
Upvotes: 1
Views: 2733
Reputation: 75679
Try File.exists() to see whether the file exists. If the path is wrong, the file will not exist.
Upvotes: 1