From 5024bb73c5144fa1536f0471b3ae0921358857ed Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 24 May 2014 13:29:49 +0200 Subject: [PATCH] Satisfied Pointer interface for this class. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../io/class_FrameworkFileInputOutputPointer.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php b/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php index 5d23c7bf..be8e86f0 100644 --- a/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php +++ b/inc/classes/main/file_directories/io/class_FrameworkFileInputOutputPointer.php @@ -171,6 +171,18 @@ class FrameworkFileInputOutputPointer extends BaseFileIo implements InputOutputP // Then return it return $data; } + + /** + * Analyzes entries in index file. This will count all found (and valid) + * entries, mark invalid as damaged and count gaps ("fragmentation"). If + * only gaps are found, the file is considered as "virgin" (no entries). + * + * @return void + * @throws UnsupportedOperationException If this method is called + */ + public function analyzeFile () { + throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION); + } } // [EOF] -- 2.39.5