|Maintainer||Stefan Schmidt (email@example.com)|
Version : 0.1
Some nice helper functions for strict file writing, appending and
reading. All read-functions are strict, in the sense that
the whole file is read at once and the content is stored into memory.
So you won't have any semi-closed handles which might bring you in trouble
from time to time. The files are immedialty closed after the reading.
This Module can handle four filetypes: XML-Files, List-Files,
Binary-Files and Text-Files.
Normal textfiles, but the content is stored as a xml-representation. For
the pickling, we use the HXT-Library
Binary-Files, which store a list of data-objects. The main difference
between Binary-Files and List-Files is, that you can append data to a
List-File which will be automatically concatenated to the existing list.
If you try this with a normal Binary-File, you'll get only the original
list and the appended data will be lost.
Normal binary files, for the encoding and decoding, we use the Haskell
Normal text files.
|Loads an XML-File and parses the content to a specified datatype.
|Converts a dataset to XML and saves the XML-string into a file.
|lists in binary files
|Writes data to a list file.
|Appends data to a list file.
|reads from a list file.
|bytestring file handling
|Write data to a binary file.
|Append data to a binary file, this doesn't mean, that the contents
are really concatenated when you read the file.
|Reads the data from a binary file as a bytestring.
|string file handling
|Writes a sting to a text file.
|Appends a string to a text file.
|Strict file reading by Simon Marlow.
|Produced by Haddock version 2.6.1|