Skip to content

Commit

Permalink
'#2231 Missing code form last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdalla committed May 24, 2024
1 parent cddea26 commit 0c7567c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ protected static class EmbeddedUsnParser extends AbstractParser {
protected List<String> contenttype = new ArrayList<String>();
protected List<String> title = new ArrayList<String>();
protected List<String> created = new ArrayList<String>();
protected List<Metadata> metadata = new ArrayList<Metadata>();

public Set<MediaType> getSupportedTypes(ParseContext context) {
return (new AutoDetectParser()).getSupportedTypes(context);
Expand All @@ -55,6 +56,8 @@ public void parse(InputStream stream, ContentHandler handler, Metadata metadata,

if (metadata.get(TikaCoreProperties.CREATED) != null)
created.add(metadata.get(TikaCoreProperties.CREATED));

this.metadata.add(metadata);
}

}
Expand Down

0 comments on commit 0c7567c

Please sign in to comment.