Filename.st
changeset 9235 5f71e9313a01
parent 9206 6f6bc408f82b
child 9263 67350979c827
equal deleted inserted replaced
9234:d519dafacdd2 9235:5f71e9313a01
  2391 
  2391 
  2392     ^ OperatingSystem createDirectory:(self osNameForDirectory)
  2392     ^ OperatingSystem createDirectory:(self osNameForDirectory)
  2393 !
  2393 !
  2394 
  2394 
  2395 copyTo:newName
  2395 copyTo:newName
  2396     "copy the file - the argument must be convertable to a filename.
  2396     "Copy the files contents into another file.
       
  2397      The argument must be convertable to a filename.
  2397      Raises an exception, if an error occurs."
  2398      Raises an exception, if an error occurs."
  2398 
  2399 
  2399     |inStream outStream|
  2400     |inStream outStream|
  2400 
  2401 
  2401     "Contents is not copied if newName represent same file as me."
  2402     "Contents is not copied if newName represent same file as me."
  5159 ! !
  5160 ! !
  5160 
  5161 
  5161 !Filename class methodsFor:'documentation'!
  5162 !Filename class methodsFor:'documentation'!
  5162 
  5163 
  5163 version
  5164 version
  5164     ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.297 2006-03-03 09:56:38 sr Exp $'
  5165     ^ '$Header: /cvs/stx/stx/libbasic/Filename.st,v 1.298 2006-03-06 08:59:48 cg Exp $'
  5165 ! !
  5166 ! !
  5166 
  5167 
  5167 Filename initialize!
  5168 Filename initialize!