From: Roland Haeder Date: Sat, 24 May 2014 11:29:49 +0000 (+0200) Subject: Satisfied Pointer interface for this class. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5024bb73c5144fa1536f0471b3ae0921358857ed;p=core.git Satisfied Pointer interface for this class. Signed-off-by: Roland Häder --- 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]