Get the metadata of a file

后端 未结 5 2039
难免孤独
难免孤独 2020-11-27 20:11

It is possible to know the metadata of a file in java? and if it is, How to get the metadata of a file in java?

5条回答
  •  余生分开走
    2020-11-27 20:56

    FITS is a command line app that bundles many tools that can identify and characterize files (extract metadata). It also has a java API

    • http://code.google.com/p/fits/
    • http://code.google.com/p/fits/wiki/developer_documentation

    Also there are numerous identification and characterization tools that can do similar tasks. Apache Tika, Pronom Droid, Jhove, etc.

提交回复
热议问题