#pragma warning disable CS1591 using System.IO; using Nikse.SubtitleEdit.Core.Common; namespace MediaBrowser.MediaEncoding.Subtitles { public interface ISubtitleParser { /// /// Parses the specified stream. /// /// The stream. /// The file extension. /// The parsed subtitle. Subtitle Parse(Stream stream, string fileExtension); /// /// Determines whether the file extension is supported by the parser. /// /// The file extension. /// A value indicating whether the file extension is supported. bool SupportsFileExtension(string fileExtension); } }