--- a/Stream.st Tue Apr 16 14:27:04 2013 +0200
+++ b/Stream.st Thu Apr 18 20:41:50 2013 +0200
@@ -1853,25 +1853,6 @@
^ true
!
-isPositionable
- "return true, if the stream supports positioning (some do not).
- Since this is an abstract class, false is returned here - just to make certain."
-
- ^ false
-
- "Modified: 15.5.1996 / 17:54:16 / cg"
-!
-
-isPrinterStream
- "return true, if this is a printerStream.
- Since this is an abstract class, false is returned here."
-
- ^ false
-
- "Modified: 15.5.1996 / 17:54:16 / cg"
- "Created: 3.6.1996 / 12:05:35 / cg"
-!
-
isReadable
"return true, if reading is supported by the recevier.
This has to be redefined in concrete subclasses."
@@ -1881,18 +1862,6 @@
"Modified: 15.5.1996 / 17:54:31 / cg"
!
-isStream
- "return true, if the receiver is some kind of Stream. Always return true here."
-
- ^ true
-
- "Modified: 15.5.1996 / 17:54:48 / cg"
-!
-
-isTerminalStream
- ^ false
-!
-
isWritable
"return true, if writing is supported by the recevier.
This has to be redefined in concrete subclasses."
@@ -2609,6 +2578,41 @@
^ self isEmpty
!
+isEncodedStream
+ ^ false
+!
+
+isPositionable
+ "return true, if the stream supports positioning (some do not).
+ Since this is an abstract class, false is returned here - just to make certain."
+
+ ^ false
+
+ "Modified: 15.5.1996 / 17:54:16 / cg"
+!
+
+isPrinterStream
+ "return true, if this is a printerStream.
+ Since this is an abstract class, false is returned here."
+
+ ^ false
+
+ "Modified: 15.5.1996 / 17:54:16 / cg"
+ "Created: 3.6.1996 / 12:05:35 / cg"
+!
+
+isStream
+ "return true, if the receiver is some kind of Stream. Always return true here."
+
+ ^ true
+
+ "Modified: 15.5.1996 / 17:54:48 / cg"
+!
+
+isTerminalStream
+ ^ false
+!
+
notEmpty
"return true, if the contents of the stream is not empty"
@@ -3207,7 +3211,7 @@
This modification of the chunk format (not doubling exclas in primitive code)
was done to have primitive code more readable and easier be edited in the fileBrowser
or other editors.
- Its no incompatibility, since inline primitives are an ST/X special
+ It's no incompatibility, since inline primitives are an ST/X special
and code containing ST/X primitives cannot be loaded into other smalltalks anyway."
self nextPutAllAsChunk:aString.
@@ -3304,11 +3308,11 @@
!Stream class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.197 2013-02-21 12:26:47 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.199 2013-04-15 13:38:25 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.197 2013-02-21 12:26:47 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.199 2013-04-15 13:38:25 cg Exp $'
! !