Continued with file i/o:
[core.git] / inc / classes / interfaces / io / file / handler / class_IoHandler.php
index 0463b826f5cf4bc31d03661f52ace638c47c90cd..12e1049f20eb05b407d92ec1a50275d113fdbd0b 100644 (file)
@@ -51,6 +51,16 @@ interface IoHandler extends FileInputStreamer, FileOutputStreamer {
         * @return      $outputStream   The *real* file-output class
         */
        function getOutputStream ();
         * @return      $outputStream   The *real* file-output class
         */
        function getOutputStream ();
+
+       /**
+        * Saves a file with data by using the current output stream
+        *
+        * @param       $fileName                       Name of the file
+        * @param       $dataStream                     File data stream
+        * @param       $objectInstance         An instance of a FrameworkInterface class (default: NULL)
+        * @return      void
+        */
+       function saveStreamToFile ($fileName, $dataStream, FrameworkInterface $objectInstance = NULL);
 }
 
 // [EOF]
 }
 
 // [EOF]