Reputation: 584
I want to write a java program for editing a doc file's metadata author, title, subject etc. please tell me a library to do so...
Upvotes: 2
Views: 300
Reputation: 49577
Take a look at Apache POI - the Java API for Microsoft Documents
Apache POI provides text extraction for all the supported file formats. In addition, it provides access to the metadata associated with a given file, such as title and author.
Take a look at getDocSummaryInformation() it returns,
Returns the document information metadata for the document
and also take a look at this nice example.(see its comment section)
Upvotes: 2