* @param input The File which contains the document.
* @return The document that was loaded.
* @throws IOException If there is an error reading from the stream.
*/
public static PDDocument load(File input) throws IOException {
ConformingPDFParser parser = new ConformingPDFParser(input);
parser.parse();
return parser.getPDDocument();
}