Class: Libis::Format::Droid

Inherits:
IdentificationTool show all
Defined in:
lib/libis/format/droid.rb

Instance Method Summary collapse

Methods inherited from IdentificationTool

bad_mimetype, run, run_dir, run_list

Instance Method Details

#run(file) ⇒ Object



34
35
36
# File 'lib/libis/format/droid.rb', line 34

def run(file)
  runner(file)
end

#run_dir(dir, recursive = true) ⇒ Object



26
27
28
29
30
31
32
# File 'lib/libis/format/droid.rb', line 26

def run_dir(dir, recursive = true)
  profile = profile_file_name
  report = result_file_name
  create_profile(dir, profile, recursive)
  create_report(profile, report)
  parse_report(report)
end

#run_list(filelist) ⇒ Object



22
23
24
# File 'lib/libis/format/droid.rb', line 22

def run_list(filelist)
  runner(filelist)
end