From: Roland Haeder Date: Sat, 24 May 2014 13:13:25 +0000 (+0200) Subject: Satified interface. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=654431b7ebb9aa776846890ae00378faf77fe51e Satified interface. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/iterator/io/class_FileIoIterator.php b/inc/classes/main/iterator/io/class_FileIoIterator.php index 5be12663..21054378 100644 --- a/inc/classes/main/iterator/io/class_FileIoIterator.php +++ b/inc/classes/main/iterator/io/class_FileIoIterator.php @@ -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]