Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting drive details[urgent]  RSS feed

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm unable to get the details of the Drives of the system.The listRoots() method of the File class list the current drives,but I want to get the properties such as whether it is Flopppy Drive,CD Drive or a Local HardDrive etc., the label of the drive, the size of the drive etc.I also want to get the properties like date created of an ordinary file
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never looked at JConfig myself, but I remember reading about it somewhere or other.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!