Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
- fix for OODT-817 TikaCmdLineExtractor needs to add Filename and Fil…
Browse files Browse the repository at this point in the history
…eLocation fields

git-svn-id: https://svn.apache.org/repos/asf/oodt/trunk@1660513 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
chrismattmann committed Feb 17, 2015
1 parent c31954b commit 7bf1978
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -109,7 +109,7 @@ public Metadata extrMetadata(File file) throws MetExtractionException {

// add standard OODT met
met.addMetadata("Filename", StringEscapeUtils.escapeXml(file.getName()));
met.addMetadata("FileLocation", StringEscapeUtils.escapeXml(file.getAbsolutePath()));
met.addMetadata("FileLocation", StringEscapeUtils.escapeXml(file.getParentFile().getAbsolutePath()));

return met;

Expand Down

0 comments on commit 7bf1978

Please sign in to comment.