Module manager

Module manager 

Source
Expand description

Subtitle format manager that detects and dispatches to the appropriate parser.

This module provides the FormatManager, which automatically detects subtitle formats and selects the correct parser for loading and saving.

§Examples

use subx_cli::core::formats::manager::FormatManager;
let manager = FormatManager::new();
let content = "1\n00:00:01,000 --> 00:00:02,000\nHello world\n";
let subtitle = manager.parse_auto(content).unwrap();

Structs§

FormatManager
Manager for subtitle format detection and parser dispatch.