Skip to content

Commit

Permalink
Improve one-off debugging from literal file path
Browse files Browse the repository at this point in the history
  • Loading branch information
tballison committed Jan 26, 2024
1 parent 9b58cd5 commit f99e8f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tika-core/src/test/java/org/apache/tika/TikaTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ protected XMLResult getXML(InputStream input, Parser parser, Metadata metadata,
}
}

protected List<Metadata> getRecursiveMetadataFromFullPath(String path) throws Exception {
return getRecursiveMetadata(Paths.get(path), true);
}

protected List<Metadata> getRecursiveMetadata(String filePath, boolean suppressException)
throws Exception {
return getRecursiveMetadata(filePath, new Metadata(), new ParseContext(),
Expand Down

0 comments on commit f99e8f9

Please sign in to comment.