Ensures normalization on waitfe/fc-xml operations
[anna.git] / include / anna / core / functions.hpp
index 58b8cd8..78fe13b 100644 (file)
@@ -1119,6 +1119,17 @@ struct functions {
   * @return Returns decoded representation
   */
   static std::string decodeBase64(const std::string & encodedString);
+
+
+  /*
+  * Reads a file into passed string
+  *
+  * @param pathfile Path file to read
+  * @param content String where file content is dump
+  *
+  * @return success for read operation
+  */
+  static bool getContentFromFile(const std::string &pathfile, std::string &content) throw(anna::RuntimeException);
 };
 
 }