FileInChange.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 30 Jan 2012 17:19:14 +0000
branchjv
changeset 3012 4f40b8304d54
parent 3011 1997ff6e7e55
child 3042 48e76977cdc3
permissions -rw-r--r--
Added InvalidChange

"
 COPYRIGHT (c) 2006 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic3' }"

Change subclass:#FileInChange
	instanceVariableNames:'file'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!FileInChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2006 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!FileInChange class methodsFor:'instance creation'!

file: aStringOrFilename

    ^self new file: aStringOrFilename

    "Created: / 27-08-2009 / 10:36:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!FileInChange methodsFor:'accessing'!

file
    ^ file
!

file:aStringOrfFilename
    file := aStringOrfFilename.
! !

!FileInChange methodsFor:'printing & storing'!

printOn:aStream
    "append a printed representation if the receiver to the argument, aStream"

    aStream 
        nextPutAll:'FileIn: ';
        nextPutAll: file asString storeString

    "Modified: / 27-08-2009 / 10:35:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!FileInChange class methodsFor:'documentation'!

version_CVS
    ^ '§Header: /cvs/stx/stx/libbasic3/FileInChange.st,v 1.1 2011/06/28 21:15:15 vrany Exp §'
!

version_SVN
    ^ '$Id: FileInChange.st 1872 2012-01-30 17:19:14Z vranyj1 $'
! !