diff options
| author | jvoisin | 2018-03-31 15:46:17 +0200 |
|---|---|---|
| committer | jvoisin | 2018-03-31 15:46:17 +0200 |
| commit | f391c9603c36a8ec80942c23ac6ba39fca5df72a (patch) | |
| tree | 7fdc2053c01f103a675274ebd3e6abcffba4dfbe /src/abstract.py | |
| parent | 088c3d013ce4515920dea5e0becb98b36afa9a31 (diff) | |
Change a bit the source code organisation
Diffstat (limited to 'src/abstract.py')
| -rw-r--r-- | src/abstract.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/abstract.py b/src/abstract.py new file mode 100644 index 0000000..c2d282f --- /dev/null +++ b/src/abstract.py | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | class AbstractParser(object): | ||
| 2 | meta_list = set() | ||
| 3 | mimetypes = set() | ||
| 4 | |||
| 5 | def __init__(self, filename: str): | ||
| 6 | self.filename = filename | ||
| 7 | self.output_filename = filename + '.cleaned' | ||
| 8 | |||
| 9 | def get_meta(self): | ||
| 10 | raise NotImplementedError | ||
| 11 | |||
| 12 | def remove_all(self): | ||
| 13 | raise NotImplementedError | ||
