class Plaintext::PdfHandler

Constants

DEFAULT

Public Class Methods

new() click to toggle source
# File lib/plaintext/file_handler/external_command_handler/pdf_handler.rb, line 9
def initialize
  @content_type = 'application/pdf'
  @command = Plaintext::Configuration['pdftotext'] || DEFAULT
end

Protected Instance Methods

utf8_stream?() click to toggle source
# File lib/plaintext/file_handler/external_command_handler/pdf_handler.rb, line 16
def utf8_stream?
  true
end