Module: Coradoc::Input

Extended by:
ProcessorRegistry
Defined in:
lib/coradoc/input.rb

Overview

Input module for document ingestion

Provides a unified interface for document input processing. Format-specific input processors register themselves with this module.

Examples:

Registering an input processor

Coradoc::Input.define(MyHtmlProcessor)

Using a registered processor

processor = Coradoc::Input.for(:html)
document = processor.convert(html_content)

Method Summary

Methods included from ProcessorRegistry

define, error_label=, for_file, get, process, processors, registered?, registry