FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Linux.Models.FileInformation.GlobsParser Class Reference

Parses Linux MIME glob mappings from the shared globs database file. More...

Collaboration diagram for FileSurfer.Linux.Models.FileInformation.GlobsParser:

Static Public Member Functions

static Dictionary< string, string > Parse (StreamReader reader)
 Reads MIME glob lines and returns extension-to-MIME mappings.

Static Public Attributes

const string GlobsPath = "/usr/share/mime/globs"
 Gets the default path to the system MIME globs file.

Detailed Description

Parses Linux MIME glob mappings from the shared globs database file.

Member Function Documentation

◆ Parse()

Dictionary< string, string > FileSurfer.Linux.Models.FileInformation.GlobsParser.Parse ( StreamReader reader)
inlinestatic

Reads MIME glob lines and returns extension-to-MIME mappings.

Member Data Documentation

◆ GlobsPath

const string FileSurfer.Linux.Models.FileInformation.GlobsParser.GlobsPath = "/usr/share/mime/globs"
static

Gets the default path to the system MIME globs file.


The documentation for this class was generated from the following file:
  • /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Linux/Models/FileInformation/GlobsParser.cs