From 654431b7ebb9aa776846890ae00378faf77fe51e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 24 May 2014 15:13:25 +0200 Subject: [PATCH] Satified interface. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/iterator/io/class_FileIoIterator.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) 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] -- 2.39.2