mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 19:01:04 +00:00
* EOAccess/EOModel.m (writeToFile:): Clairfy documentation
about setting receivers name and path. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8f9ee35c5c
commit
75f86142d0
2 changed files with 16 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-10 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
|
* EOAccess/EOModel.m (writeToFile:): Clairfy documentation about
|
||||||
|
setting receivers name and path.
|
||||||
|
|
||||||
2005-02-13 Manuel Guesdon <mguesdon@orange-concept.com>
|
2005-02-13 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||||
* EOControl/EOClassDescription.m:
|
* EOControl/EOClassDescription.m:
|
||||||
o use IMPs
|
o use IMPs
|
||||||
|
|
|
@ -581,18 +581,21 @@ NSString *EOEntityLoadedNotification = @"EOEntityLoadedNotification";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Writes the receivers plist representation into an
|
* <p>Writes the receivers plist representation into an
|
||||||
* .eomodeld file wrapper located at path.
|
* .eomodeld file wrapper located at path. </p>
|
||||||
* Depending on the the path extension .eomodeld or .eomodel
|
* <p>Depending on the the path extension .eomodeld or .eomodel
|
||||||
* the corresponding format will be used.
|
* the corresponding format will be used.
|
||||||
* If the path has neither .eomodeld nor .eomodel path
|
* If the path has neither .eomodeld nor .eomodel path
|
||||||
* extension, .eomodeld will be used.
|
* extension, .eomodeld will be used.</p>
|
||||||
* If the file located at path already exists, a back is created
|
* <p>If the file located at path already exists, a back is created
|
||||||
* by appending a '~' character to file name.
|
* by appending a '~' character to file name.
|
||||||
* If a backup file already exists, when trying to create a backup,
|
* If a backup file already exists, when trying to create a backup,
|
||||||
* the old backup will be deleted.
|
* the old backup will be deleted.</p>
|
||||||
* If any of the file operations fail, an NSInvalidArgumentException
|
* <p>If any of the file operations fail, an NSInvalidArgumentException
|
||||||
* will be raised.
|
* will be raised.</p>
|
||||||
|
* <p>This method as the side effeect of setting the receivers path and
|
||||||
|
* name. The this change can happen even if the write operation fails
|
||||||
|
* with an exception.</p>
|
||||||
*/
|
*/
|
||||||
- (void)writeToFile: (NSString *)path
|
- (void)writeToFile: (NSString *)path
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue