Sha256: c425ca41b377f5453fc6a1d45d11ac909ad220d257f08879c91d2be2eb6033ef
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
require_relative "command" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tika-app-0.1.0 | lib/tika/commands.rb |