Package files
Class PdfFile
- java.lang.Object
-
- files.PdfFile
-
- All Implemented Interfaces:
ParseableFile<java.lang.String>
public class PdfFile extends java.lang.Object implements ParseableFile<java.lang.String>
The main goal of this class is to get the content inside the Pdf, in addition to represent a PdfFile, to make it more explicit.- Since:
- 1.0 SNAPSHOT
- Author:
- Arthur Brenno
-
-
Constructor Summary
Constructors Constructor Description PdfFile(@NotNull java.nio.file.Path path)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContent()
This method returns the content of the pdf.
-
-
-
Method Detail
-
getContent
public java.lang.String getContent() throws java.io.IOException
This method returns the content of the pdf.- Specified by:
getContent
in interfaceParseableFile<java.lang.String>
- Returns:
- String with all the content of the PdfFile instance.
- Throws:
java.io.IOException
- if the file is not found.
-
-