namespace CoreFramework\Stream\Filesystem;
// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Stream\Filesystem\FileInputStreamer;
+use CoreFramework\Stream\Filesystem\FileOutputStreamer;
/**
* An universal class for file input/output streams.
* Create a file IO stream. This is a class for performing all actions
* on files like creating, deleting and loading them.
*
- * @return $ioInstance An instance of FileIoStream
+ * @return $ioInstance An instance of a FileIoStream class
*/
public static final function createFileIoStream () {
// Create new instance
* @throws UnsupportedOperationException If this method is called
*/
public function streamData ($data) {
- self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}