X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fio%2Ffile%2Fhandler%2Fclass_IoHandler.php;h=12e1049f20eb05b407d92ec1a50275d113fdbd0b;hp=0463b826f5cf4bc31d03661f52ace638c47c90cd;hb=869f4d32219899f678c27272b5a4ea59fc48f362;hpb=4ad6f99674864c9771a7f4c06a61bdbba3684e59 diff --git a/inc/classes/interfaces/io/file/handler/class_IoHandler.php b/inc/classes/interfaces/io/file/handler/class_IoHandler.php index 0463b826..12e1049f 100644 --- a/inc/classes/interfaces/io/file/handler/class_IoHandler.php +++ b/inc/classes/interfaces/io/file/handler/class_IoHandler.php @@ -51,6 +51,16 @@ interface IoHandler extends FileInputStreamer, FileOutputStreamer { * @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]