Package io.jmix.search.utils
Class FileProcessor
java.lang.Object
io.jmix.search.utils.FileProcessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.tika.parser.ParseContext
extractFileContent
(FileRef fileRef) protected org.apache.tika.parser.Parser
protected Optional<org.apache.tika.parser.Parser>
getParserOpt
(FileRef fileRef)
-
Field Details
-
fileStorageLocator
-
-
Constructor Details
-
FileProcessor
-
-
Method Details
-
extractFileContent
public String extractFileContent(FileRef fileRef) throws FileParseException, UnsupportedFileFormatException -
getParser
protected org.apache.tika.parser.Parser getParser(FileRef fileRef) throws UnsupportedFileFormatException - Throws:
UnsupportedFileFormatException
-
createParseContext
protected org.apache.tika.parser.ParseContext createParseContext() -
getParserOpt
-