Method: Hydra::Works::CharacterizationService.run

Defined in:
lib/hydra/works/services/characterization_service.rb

.run(object, source = nil, options = {}) ⇒ Object

Parameters:

  • object (Hydra::PCDM::File)

    which has properties to recieve characterization values.

  • source (String, File) (defaults to: nil)

    for characterization to be run on. File object or path on disk. If none is provided, it will assume the binary content already present on the object.

  • options (Hash) (defaults to: {})

    to be passed to characterization. parser_mapping:, parser_class:, tools:



10
11
12
# File 'lib/hydra/works/services/characterization_service.rb', line 10

def self.run(object, source = nil, options = {})
  new(object, source, options).characterize
end