Again interface satisfaction ... ;-)
authorRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:40:12 +0000 (15:40 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:40:12 +0000 (15:40 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/index/class_BaseIndex.php

index df3e758f9c11a241af09b7fa5b095ecc38ffc74a..2f0130b643d0e0e633a37d0a711f9dd4c8ce7a46 100644 (file)
@@ -190,6 +190,37 @@ class BaseIndex extends BaseFrameworkSystem {
                // Return it
                return $length;
        }
+
+       /**
+        * Close a file source and set it's instance to null and the file name
+        * to empty.
+        *
+        * @return      void
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function closeFile () {
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
+
+       /**
+        * Determines whether the EOF has been reached
+        *
+        * @return      $isEndOfFileReached             Whether the EOF has been reached
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function isEndOfFileReached () {
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
+
+       /**
+        * Getter for file name
+        *
+        * @return      $fileName       The current file name
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function getFileName () {
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
 }
 
 // [EOF]