]> git.mxchange.org Git - core.git/commitdiff
Satified interface.
authorRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:13:25 +0000 (15:13 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:13:25 +0000 (15:13 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/iterator/io/class_FileIoIterator.php

index 5be1266347c17bf9fac6252a198e914e6e06f07a..21054378442e7c066377967ade9b51fd6e03cea6 100644 (file)
@@ -161,6 +161,37 @@ class FileIoIterator extends BaseIterator implements SeekableWritableFileIterato
                // Just call the pointer instance
                $this->getPointerInstance()->analyzeFile();
        }
+
+       /**
+        * Checks whether the file header is initialized
+        *
+        * @return      $isInitialized  Whether the file header is initialized
+        */
+       public function isFileHeaderInitialized () {
+               // Just call the pointer instance
+               return $this->getPointerInstance()->isFileHeaderInitialized();
+       }
+
+       /**
+        * Creates the assigned file
+        *
+        * @return      void
+        */
+       public function createFileHeader () {
+               // Just call the pointer instance
+               $this->getPointerInstance()->createFileHeader();
+       }
+
+       /**
+        * Pre-allocates file (if enabled) with some space for later faster write access.
+        *
+        * @param       $type   Type of the file
+        * @return      void
+        */
+       public function preAllocateFile ($type) {
+               // Just call the pointer instance
+               $this->getPointerInstance()->preAllocateFile($type);
+       }
 }
 
 // [EOF]