]> git.mxchange.org Git - core.git/blobdiff - inc/main/middleware/io/class_FileIoHandler.php
Continued:
[core.git] / inc / main / middleware / io / class_FileIoHandler.php
index 3480a31d6e6b378edf8abebb1d78f70fd46d5a1a..888ae282590b3d576b0bd7dfe00093cb2a71982f 100644 (file)
@@ -1,11 +1,22 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Handler\Filesystem;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Handler\Stream\IoHandler;
+use CoreFramework\Middleware\BaseMiddleware;
+use CoreFramework\Stream\Filesystem\FileInputStreamer;
+use CoreFramework\Stream\Filesystem\FileOutputStreamer;
+
 /**
  * This is a file IO handler. It handles reading from and writing to files.
  * Missing paths in writing process will be automatically created.
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
 /**
  * This is a file IO handler. It handles reading from and writing to files.
  * Missing paths in writing process will be automatically created.
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -125,7 +136,7 @@ class FileIoHandler extends BaseMiddleware implements IoHandler {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function saveFile ($fileName, array $dataArray) {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function saveFile ($fileName, array $dataArray) {
-               self::createDebugInstance(__CLASS__)->debugOutput('fileName=' . $fileName . ',dataArray()=' . count($dataArray));
+               self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('fileName=' . $fileName . ',dataArray()=' . count($dataArray));
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
@@ -196,7 +207,5 @@ class FileIoHandler extends BaseMiddleware implements IoHandler {
        public function size () {
                $this->partialStub();
        }
        public function size () {
                $this->partialStub();
        }
-}
 
 
-// [EOF]
-?>
+}