File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Features new in Java 7 and the fly likes NIO.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "NIO.2" Watch "NIO.2" New topic


john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

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) :

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?

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

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.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Just making sure . Thank you very much!
I agree. Here's the link:
subject: NIO.2
It's not a secret anymore!