public class PDFStructuredTextExtractor extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MINIMUMPARSIZE |
| Constructor and Description |
|---|
PDFStructuredTextExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static Document |
importAsDocument(InputStream input)
Assumes the given InputStream to contain PDF data and parses it.
|
static InputStream |
importAsInputStream(InputStream input)
Assumes the given InputStream to contain PDF data and parses it.
|
static String |
importAsString(InputStream input)
Assumes the given InputStream to contain PDF data and parses it.
|
public static final int MINIMUMPARSIZE
public static Document importAsDocument(InputStream input) throws IOException
input - an input stream containing PDF data.IOException - is thrown if anything goes wrong during either
stream reading or parsing.public static String importAsString(InputStream input) throws IOException
input - an input stream containing PDF data.IOException - is thrown if anything goes wrong during either
stream reading or parsing.public static InputStream importAsInputStream(InputStream input) throws IOException
input - an input stream containing PDF data.IOException - is thrown if anything goes wrong during either
stream reading or parsing.Copyright © 2014. All rights reserved.