To avoid unpredictable excess memory use, the returned string contains only up to {@link #getMaxStringLength()} first characters extractedfrom the input document. Use the {@link #setMaxStringLength(int)}method to adjust this limitation. @param stream the document to be parsed @param metadata document metadata @return extracted text content @throws IOException if the document can not be read @throws TikaException if the document can not be parsed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|