5073 "Modified: / 2.7.1996 / 12:49:45 / stefan" |
5073 "Modified: / 2.7.1996 / 12:49:45 / stefan" |
5074 "Created: / 11.7.1996 / 14:09:11 / cg" |
5074 "Created: / 11.7.1996 / 14:09:11 / cg" |
5075 "Modified: / 15.10.1998 / 11:41:45 / cg" |
5075 "Modified: / 15.10.1998 / 11:41:45 / cg" |
5076 ! |
5076 ! |
5077 |
5077 |
|
5078 contentsAsString |
|
5079 "to compensate for the bad naming, use this to make things explicit. |
|
5080 See also #contents, which returns the lines as stringCollection for textFiles." |
|
5081 |
|
5082 ^ self contentsAsString |
|
5083 |
|
5084 " |
|
5085 'Makefile' asFilename contentsOfEntireFile |
|
5086 'foobar' asFilename contentsOfEntireFile |
|
5087 " |
|
5088 |
|
5089 "Modified: / 02-07-1996 / 12:49:45 / stefan" |
|
5090 "Created: / 08-11-2007 / 13:29:59 / cg" |
|
5091 ! |
|
5092 |
5078 contentsOfEntireFile |
5093 contentsOfEntireFile |
5079 "return the contents of the file as a string; |
5094 "return the contents of the file as a string; |
5080 Raises an error, if the file is unreadable/non-existing. |
5095 Raises an error, if the file is unreadable/non-existing. |
5081 See also #contents, which returns the lines as stringCollection for textFiles. |
5096 See also #contents, which returns the lines as stringCollection for textFiles. |
5082 CAVEAT: bad naming - but req'd for VW compatibility." |
5097 CAVEAT: bad naming - but req'd for VW compatibility." |