Class PdfParser
java.lang.Object
org.hippoecm.frontend.editor.plugins.resource.PdfParser
-
Method Summary
-
Method Details
-
parse
- Parameters:
inputStream
- the pdfinputStream
that gets parsed, *and* that gets closed when finished- Returns:
- the first 100*1000 chars from the pdf as String. Also see
Tika.setMaxStringLength(int)
- Throws:
IllegalStateException
- in case of aTikaException
orIOException
-