Added missing method.
authorRoland Häder <haeder@hmmdeutschland.de>
Tue, 24 Jun 2014 06:43:05 +0000 (08:43 +0200)
committerRoland Häder <haeder@hmmdeutschland.de>
Tue, 24 Jun 2014 06:43:05 +0000 (08:43 +0200)
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
inc/classes/main/file_directories/output/class_FrameworkFileOutputPointer.php

index 35ff72e..aa8f1a1 100644 (file)
@@ -102,6 +102,18 @@ class FrameworkFileOutputPointer extends BaseFileIo implements OutputPointer {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
+       /**
+        * Writes at given position by seeking to it.
+        *
+        * @param       $seekPosition   Seek position in file
+        * @param       $data                   Data to be written
+        * @return      mixed                   Number of writes bytes or FALSE on error
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function writeAtPosition ($seedPosition, $data) {
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
+
        /**
         * Advances to next "block" of bytes
         *