Sha256: 67a9aedb63a48dc7581935110307979d29cc5413f5f241e55b3b8aced6357186

Contents?: true

Size: 542 Bytes

Versions: 4

Compression:

Stored size: 542 Bytes

Contents

module ChocolateDisco
  
  module Java
    
    Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), 'java', '*.jar'))).each do |jar|
      require(jar)
    end
    
    %w(HTMLExtractor MSExcelExtractor MSOffice2007Extractor MSPPTExtractor MSVisioExtractor MSWordExtractor PDFExtractor SupportedMimeTypes TextExtractionFactory TxtTextExtractor XMLExtractor).each do |klass_name|
      include_class "org.jaideep.jtextextract.#{klass_name}"
    end # %w(...).each do |klass_name|
    
  end # module Java
  
end # module ChocolateDisco

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hirobumi-chocolate_disco-jruby-0.1.2 lib/chocolate_disco/java.rb
hirobumi-chocolate_disco-jruby-0.1.3 lib/chocolate_disco/java.rb
hirobumi-chocolate_disco-jruby-0.1.4 lib/chocolate_disco/java.rb
hirobumi-chocolate_disco-jruby-0.1.5 lib/chocolate_disco/java.rb