• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NIO.2

 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will the new metadata feature(s) in Java 7 in any way help decode files (aka Music, Video, etc). Like, will it be easier to find .mp3 tags (title, artist, length, etc). My guess is no, because they would have to do it for that for a bunch (and would be media specific). I am just wondering....Maybe with "UserDefinedFileAttributeView" ? Here is the link (Java tutorials) : http://download.oracle.com/javase/tutorial/essential/io/fileAttr.html
Thanks,
cc11rocks

EDIT: Generally, for Java 7, does the JDK convert your code to be backwards compatible with other versions (IE : Java 6). If I were to try to run Java 7 code on a Java 6 machine, would it work?
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
About your first question: No. The information you're referring to is stored in the file itself and is not meta-data.
About your second question: No. You can't run Java 7 code on a Java 6 JVM.
 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just making sure . Thank you very much!
cc11rocks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic