equal
deleted
inserted
replaced
195 ! ! |
195 ! ! |
196 |
196 |
197 !Stream methodsFor:'accessing'! |
197 !Stream methodsFor:'accessing'! |
198 |
198 |
199 contents |
199 contents |
200 "return the entire contents of the stream" |
200 "return the entire contents of the stream. |
201 |
201 For a readStream, that is the rest (i.e. upToEnd), |
202 ^ self upToEnd |
202 for a writeStream, that is the collected data. As we do not know here, |
|
203 what we are, this is the responsibility of a subclass..." |
|
204 |
|
205 ^ self subclassResponsibility |
203 ! |
206 ! |
204 |
207 |
205 signalAtEnd |
208 signalAtEnd |
206 "return the signalAtEnd flag setting. |
209 "return the signalAtEnd flag setting. |
207 If true, reading past the end will always raise an EndOfStream exception. |
210 If true, reading past the end will always raise an EndOfStream exception. |
2920 ! ! |
2923 ! ! |
2921 |
2924 |
2922 !Stream class methodsFor:'documentation'! |
2925 !Stream class methodsFor:'documentation'! |
2923 |
2926 |
2924 version |
2927 version |
2925 ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.165 2009-05-13 09:06:36 cg Exp $' |
2928 ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.166 2009-05-13 09:07:55 cg Exp $' |
2926 ! ! |
2929 ! ! |
2927 |
2930 |
2928 Stream initialize! |
2931 Stream initialize! |