SimpleFileHandler

Custom file IO handler wrapper for reading, writing, and appending UTF-8 text files.

Methods

@staticmethod def write(file_path: str, content: str)

Writes text content to a target file path using UTF-8 encoding.

@staticmethod def read(file_path: str) -> str

Reads and returns complete string content from a file path.

@staticmethod def append(file_path: str, content: str)

Appends text content to an existing file.