## IMPORTS ##
from tika import parser

## CLASS ##
class ReadPDF():

    def __init__(self, filepath, filename, *args, **kwargs):

        self.content = str(parser.from_file("%s%s" % (filepath, filename))["content"])#, "G:\\Automation\\Tika\\tika-server.jar")

    def build_content_lines():

        lines = []
        for line in self.content.split("\n"):
            if line not in ["", " "]:
                lines.append(line)
        return lines

cc74e55f439fbfd56a53b9b4f4583725ce1ff8d6
<mask token>


class ReadPDF:
    <mask token>
    <mask token>

<mask token>


class ReadPDF:
    <mask token>

    def build_content_lines():
        lines = []
        for line in self.content.split('\n'):
            if line not in ['', ' ']:
                lines.append(line)
        return lines

<mask token>


class ReadPDF:

    def __init__(self, filepath, filename, *args, **kwargs):
        self.content = str(parser.from_file('%s%s' % (filepath, filename))[
            'content'])

    def build_content_lines():
        lines = []
        for line in self.content.split('\n'):
            if line not in ['', ' ']:
                lines.append(line)
        return lines

from tika import parser


class ReadPDF:

    def __init__(self, filepath, filename, *args, **kwargs):
        self.content = str(parser.from_file('%s%s' % (filepath, filename))[
            'content'])

    def build_content_lines():
        lines = []
        for line in self.content.split('\n'):
            if line not in ['', ' ']:
                lines.append(line)
        return lines

## IMPORTS ##
from tika import parser

## CLASS ##
class ReadPDF():

    def __init__(self, filepath, filename, *args, **kwargs):

        self.content = str(parser.from_file("%s%s" % (filepath, filename))["content"])#, "G:\\Automation\\Tika\\tika-server.jar")

    def build_content_lines():

        lines = []
        for line in self.content.split("\n"):
            if line not in ["", " "]:
                lines.append(line)
        return lines
