Verified Owner
Top Constructors Methods
org.jabref.logic.util

public Class PdfUtils

extends Object
Class Inheritance
Imports
java.io.IOException, .StringWriter, org.apache.pdfbox.pdmodel.PDDocument, org.apache.pdfbox.text.PDFTextStripper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
getFirstPageContents(PDDocument document)

Returns the contents of the first page ordered by their position on the page

public static String
getPageContents(PDDocument document, int page)

public static String
getPageContents(PDDocument document, int page, boolean
- "true" might have issues with IEEE
setSortByPosition
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PdfUtilsback to summary
public PdfUtils()

Method Detail

getFirstPageContentsback to summary
public static String getFirstPageContents(PDDocument document) throws IOException

Returns the contents of the first page ordered by their position on the page

getPageContentsback to summary
public static String getPageContents(PDDocument document, int page) throws IOException
getPageContentsback to summary
public static String getPageContents(PDDocument document, int page, boolean setSortByPosition) throws IOException
Parameters
setSortByPosition:boolean

- "true" might have issues with IEEE