#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Tue, 08 Nov 2016 15:00:48 +0100
changeset 4201 e29dfac90a57
parent 4200 089df8914384
child 4202 88ea818849fa
#BUGFIX by stefan class: LineNumberReadStream added: #contents #contentsAsString
LineNumberReadStream.st
--- a/LineNumberReadStream.st	Tue Nov 08 11:26:47 2016 +0100
+++ b/LineNumberReadStream.st	Tue Nov 08 15:00:48 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1996 by eXept Software AG
 	      All Rights Reserved
@@ -191,6 +189,14 @@
 
 !LineNumberReadStream methodsFor:'reading'!
 
+contents
+    ^ inputStream contents
+!
+
+contentsAsString
+    ^ inputStream contentsAsString
+!
+
 upToAll_positionBefore:aCollection
     "read until a subcollection consisting of the elements in aCollection is encountered.
      Return everything read excluding the elements in aCollection.
@@ -225,10 +231,10 @@
 !LineNumberReadStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/LineNumberReadStream.st,v 1.12 2015-04-22 18:07:41 stefan Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic2/LineNumberReadStream.st,v 1.12 2015-04-22 18:07:41 stefan Exp $'
+    ^ '$Header$'
 ! !