]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/io/class_Pointer.php
Moved analyzeFile() to BaseFile where a much better place is (and duplicate
[core.git] / inc / classes / interfaces / io / class_Pointer.php
index 7b158263479d3fcef6b647814fe458216741dc26..b0882b7a155f034b0155a51e5c99059eedf5b7c3 100644 (file)
@@ -45,6 +45,22 @@ interface Pointer extends FrameworkInterface {
         * @return      $fileName       The current file name
         */
        function getFileName ();
+
+       /**
+        * Determines whether the EOF has been reached
+        *
+        * @return      $isEndOfFileReached             Whether the EOF has been reached
+        */
+       function isEndOfFileReached ();
+
+       /**
+        * 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
+        */
+       function analyzeFile ();
 }
 
 // [EOF]