Class: ODDB::AnalysisParse::PageHandler

Inherits:
Object
  • Object
show all
Defined in:
ext/analysisparse/src/pagehandler.rb

Direct Known Subclasses

IndexFinder, IndexHandler

Instance Method Summary (collapse)

Instance Method Details

- (Object) analyze(page, pagenum)



17
18
19
20
21
22
# File 'ext/analysisparse/src/pagehandler.rb', line 17

def analyze(page, pagenum)
  handler = Rpdf2txt::SimpleHandler.new
  page.text(handler)
  txt = handler.out
  next_pagehandler(txt)
end

- (Object) next_pagehandler(txt)



23
24
25
# File 'ext/analysisparse/src/pagehandler.rb', line 23

def next_pagehandler(txt)
  self
end