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