public class PdfParser extends Object
Modifier and Type | Method and Description |
---|---|
static String |
parse(InputStream inputStream) |
static String |
synchronizedParse(InputStream inputStream)
Deprecated.
use parse instead, tika and its parsers are thread-safe
|
public static String synchronizedParse(InputStream inputStream)
inputStream
- the pdf inputStream
that gets parsed, *and* that gets closed when finishedTika.setMaxStringLength(int)
IllegalStateException
- in case of a TikaException
or IOException
public static String parse(InputStream inputStream)
inputStream
- the pdf inputStream
that gets parsed, *and* that gets closed when finishedTika.setMaxStringLength(int)
IllegalStateException
- in case of a TikaException
or IOException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.