I'm developing a simple file manager. So, I have two components: JTree & JTable. When I open some folder in JTree, then JTable is updated according to the content of that folder. JTable contains 3 columns: file_type, file_name, file_bytes. The code works correctly.

Now I need to add some more columns to describe each file in JTable, e.g. file_author, file_description, file_link. How could I assign/read these data to/from files? Should I use metadata?

P.S: "Accessing metadata from files

Edited by LianaN: n/a

6 Years
Discussion Span
Last Post by JamesCherrill
Featured Replies
  • Have a look at Apache "Tika" [url]http://tika.apache.org/[/url] It may be a bit over the top for what you need now, but it's probably the comprehensive file metadata utility you will find in Java. Read More

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.