Holumbus-Searchengine-1.2.3: A search and indexing engine.

Portabilitynone portable
Stabilityexperimental
MaintainerTimo B. Huebel (tbh@holumbus.org)
Safe HaskellNone

Holumbus.Index.Common.LoadStore

Description

Load and store indexes

Synopsis

Documentation

loadFromFile :: (XmlPickler a, Binary a) => FilePath -> IO aSource

Try to determine the file type automatically. The file is loaded as XML if the filename ends with ".xml" and otherwise is loaded as binary file.

loadFromXmlFile :: XmlPickler a => FilePath -> IO aSource

Load from XML file.

writeToXmlFile :: XmlPickler a => FilePath -> a -> IO ()Source

Write to XML file.

loadFromBinFile :: Binary a => FilePath -> IO aSource

Load from a binary file.

writeToBinFile :: Binary a => FilePath -> a -> IO ()Source

Write to a binary file.