Beagrep.Daemon.FilterFactory.CreateFiltersFromIndexable C# (CSharp) Method

CreateFiltersFromIndexable() public static method

public static CreateFiltersFromIndexable ( Indexable indexable ) : ICollection
indexable Indexable
return ICollection
        public static ICollection CreateFiltersFromIndexable(Indexable indexable)
        {
            string path = indexable.ContentUri.LocalPath;
            string extension = Path.GetExtension (path);
            string mime_type = indexable.MimeType;
            return CreateFilters (UriFu.PathToFileUri (path), extension, mime_type);
        }