Sha256: 3c0e8dfbdefe3ff3e3feb86829298abebdd718bdeac60079343c2833d7a19b2f

Contents?: true

Size: 825 Bytes

Versions: 2

Compression:

Stored size: 825 Bytes

Contents

module Tabula
  PDFBOX = 'pdfbox-app-2.0.0-SNAPSHOT.jar'
  ONLY_SPACES_RE = Regexp.new('^\s+$')
end

require File.join(File.dirname(__FILE__), '../target/', Tabula::PDFBOX)

import 'java.util.logging.LogManager'
import 'java.util.logging.Level'

lm = LogManager.log_manager
lm.logger_names.each do |name|
  if name == "" #rootlogger is apparently the logger PDFBox is talking to.
    l = lm.get_logger(name)
    l.level = Level::OFF
    l.handlers.each do |h|
      h.level = Level::OFF
    end
  end
end


require_relative './tabula/version'
require_relative './tabula/core_ext'
require_relative './tabula/entities'
require_relative './tabula/extraction'
require_relative './tabula/table_extractor'
require_relative './tabula/writers'
require_relative './tabula/line_segment_detector'
require_relative './tabula/pdf_render'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tabula-extractor-0.7.1-java lib/tabula.rb
tabula-extractor-0.7.0-java lib/tabula.rb