manuskript/manuskript/converters/abstractConverter.py

19 lines
525 B
Python
Raw Permalink Normal View History

2017-11-14 10:55:33 +13:00
#!/usr/bin/env python
# --!-- coding: utf8 --!--
class abstractConverter:
"""
A converter is used to convert (duh) between stuff. They provide access
2017-11-14 10:55:33 +13:00
to external libraries that may or may not be present.
Now, things are a bit messy, since classes in `exporter` (and `importer` to a lesser extent) do
the same. In a better world, classes from `exporter` and `importer` would
use converters to do their stuff. (TODO)
2017-11-14 10:55:33 +13:00
"""
name = ""
@classmethod
def isValid(cls):
return False