Class FileContent¶
- Defined in File filetools.py
Inheritance Relationships¶
Base Type¶
public pymdtools.filetools.FileName
(Class FileName)
Derived Type¶
public pymdtools.mdfile.MarkdownContent
(Class MarkdownContent)
Class Documentation¶
-
class
FileContent
¶ Subclassed by pymdtools.mdfile.MarkdownContent
Public Functions
-
__init__
(self self, filename filename = None, content content = None, backup backup = True, encoding encoding = "utf-8")¶
-
content
(self self)
-
content
(self self, value value)
-
backup
(self self)
-
backup
(self self, value value)
-
save_needed
(self self)¶
-
save_needed
(self self, value value)
-
read
(self self, filename filename = None, encoding encoding = "utf-8")¶
-
write
(self self, filename filename = None, backup_ext backup_ext = ".bak", encoding encoding = "utf-8")¶
-
__repr__
(self self)¶
-
__str__
(self self)¶
-