
import PyPDF2

class PdfToText:

    def __init__(self,filename):
        self.setFilename(filename)

    def getText(self):
        pdfFileObj = open(self.filename, 'rb')
        pdfReader = PyPDF2.PdfFileReader(pdfFileObj)

        input = ""
        for i in range(pdfReader.getNumPages()):
            pageObj = pdfReader.getPage(i)
            input += pageObj.extractText()
        return input

    def setFilename(self,filename):
        self.filename = filename

b705267bd20f62487e13b9fb7ac9da9ab6758866
<mask token>


class PdfToText:
    <mask token>
    <mask token>

    def setFilename(self, filename):
        self.filename = filename

<mask token>


class PdfToText:
    <mask token>

    def getText(self):
        pdfFileObj = open(self.filename, 'rb')
        pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
        input = ''
        for i in range(pdfReader.getNumPages()):
            pageObj = pdfReader.getPage(i)
            input += pageObj.extractText()
        return input

    def setFilename(self, filename):
        self.filename = filename

<mask token>


class PdfToText:

    def __init__(self, filename):
        self.setFilename(filename)

    def getText(self):
        pdfFileObj = open(self.filename, 'rb')
        pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
        input = ''
        for i in range(pdfReader.getNumPages()):
            pageObj = pdfReader.getPage(i)
            input += pageObj.extractText()
        return input

    def setFilename(self, filename):
        self.filename = filename

import PyPDF2


class PdfToText:

    def __init__(self, filename):
        self.setFilename(filename)

    def getText(self):
        pdfFileObj = open(self.filename, 'rb')
        pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
        input = ''
        for i in range(pdfReader.getNumPages()):
            pageObj = pdfReader.getPage(i)
            input += pageObj.extractText()
        return input

    def setFilename(self, filename):
        self.filename = filename


import PyPDF2

class PdfToText:

    def __init__(self,filename):
        self.setFilename(filename)

    def getText(self):
        pdfFileObj = open(self.filename, 'rb')
        pdfReader = PyPDF2.PdfFileReader(pdfFileObj)

        input = ""
        for i in range(pdfReader.getNumPages()):
            pageObj = pdfReader.getPage(i)
            input += pageObj.extractText()
        return input

    def setFilename(self,filename):
        self.filename = filename
