Sha256: a50b16855ef78773ae5cd9ae372d39685d4ed92f61ca5ab371bce68a5ad362cb
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
require_relative "command" require_relative "result" module Tika module Commands class GetTextCommand < Command self.options = ["-t", "-eUTF8"] self.result_class = TextResult end class GetMetadataCommand < Command self.options = ["-j"] self.result_class = JSONResult end class GetVersionCommand < Command self.options = ["-V"] self.result_class = TextResult end class GetMimeTypesCommand < Command self.options = ["--list-supported-types"] self.result_class = TextResult end class GetParsersCommand < Command self.options = ["--list-parsers"] self.result_class = TextResult end class GetParsersDetailsCommand < Command self.options = ["--list-parser-details"] self.result_class = TextResult end class GetDetectorsCommand < Command self.options = ["--list-detectors"] self.result_class = TextResult end class DetectCommand < Command self.options = ["-d"] self.result_class = TextResult end class GetMetadataModelsCommand < Command self.options = ["--list-met-models"] self.result_class = TextResult end class GetLanguageCommand < Command self.options = ["-l"] self.result_class = TextResult end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tika-app-0.2.1 | lib/tika/commands.rb |
tika-app-0.2.0 | lib/tika/commands.rb |
tika-app-0.1.1 | lib/tika/commands.rb |