Method: Docsplit.extract_text

Defined in:
lib/docsplit.rb

.extract_text(pdfs, opts = {}) ⇒ Object

Use the ExtractText Java class to write out all embedded text.



48
49
50
51
# File 'lib/docsplit.rb', line 48

def self.extract_text(pdfs, opts = {})
  pdfs = ensure_pdfs(pdfs)
  TextExtractor.new.extract(pdfs, opts)
end