company logo

String :: storeFile - Write text file from string

The function writes the data from the string to the file passed in sFilePath. The directory referenced in the file path has to exist, but the file need not. When the file does already exist, it will be overwritten.

In case of an error writing to file the function throws an exception.

Implementation details

String  :: storeFile ( odaba::String &sFilePath )
  • sFilePath - Complete file path