geolib.models.parsers¶
Classes
Basic class for parser providers. |
- class geolib.models.parsers.BaseParser¶
- can_parse(filename)¶
Verifies if a file or directory can be parsed with this instance.
- Parameters:
filename (FilePath) – File path to the file or directory to parse.
- Returns:
True if it can be parsed, False otherwise.
- Return type:
bool
- abstract parse(filename)¶
- Parameters:
filename (
Path
)
- abstract property suffix_list: List[str]¶
- class geolib.models.parsers.BaseParserProvider¶
Basic class for parser providers.
- abstract property input_parsers: BaseParser¶
- abstract property output_parsers: BaseParser¶
- parse(filename)¶
- Parameters:
filename (
Path
)- Return type:
- abstract property parser_name: str¶