2000-02-28 16:30:00 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.5//EN" "http://www.gnustep.org/gsdoc-0_6_5.xml">
|
|
|
|
<gsdoc base="NSFileManager" prev="NSFileHandle.html" next="NSFormatter.html" up="Foundation.html">
|
|
|
|
<head>
|
|
|
|
<title>NSFileManager</title>
|
|
|
|
<author name="Richard Frith-Macdonald">
|
|
|
|
<email address="rfm@gnu.org"/>
|
|
|
|
<url url="http://www.gnustep.org/developers/whoiswho.html"/>
|
|
|
|
</author>
|
|
|
|
<version>0.1</version>
|
|
|
|
<date>28 February, 2000</date>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<chapter>
|
|
|
|
<heading>NSFileManager</heading>
|
|
|
|
<class name="NSFileManager" super="NSObject">
|
|
|
|
<declared>Foundation/NSFileManager.h</declared>
|
|
|
|
<conform>NSObject</conform>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
<method type="NSFileManager*" factory="yes"><sel>defaultManager</sel>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>changeCurrentDirectoryPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>changeFileAttributes:</sel><arg type="NSDictionary*">attributes</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSData*"><sel>contentsAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>contentsEqualAtPath:</sel><arg type="NSString*">path1</arg><sel>andPath:</sel><arg type="NSString*">path2</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
|
|
|
<method type="BOOL"><sel>copyPath:</sel><arg type="NSString*">source</arg><sel>toPath:</sel><arg type="NSString*">destination</arg><sel>handler:</sel><arg>handler</arg>
|
2000-02-28 16:30:00 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>createDirectoryAtPath:</sel><arg type="NSString*">path</arg><sel>attributes:</sel><arg type="NSDictionary*">attributes</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>createFileAtPath:</sel><arg type="NSString*">path</arg><sel>contents:</sel><arg type="NSData*">contents</arg><sel>attributes:</sel><arg type="NSDictionary*">attributes</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>createSymbolicLinkAtPath:</sel><arg type="NSString*">path</arg><sel>pathContent:</sel><arg type="NSString*">otherPath</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSString*"><sel>currentDirectoryPath</sel>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSArray*"><sel>directoryContentsAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSDirectoryEnumerator*"><sel>enumeratorAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSDictionary*"><sel>fileAttributesAtPath:</sel><arg type="NSString*">path</arg><sel>traverseLink:</sel><arg type="BOOL">flag</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>fileExistsAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>fileExistsAtPath:</sel><arg type="NSString*">path</arg><sel>isDirectory:</sel><arg type="BOOL*">isDirectory</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSDictionary*"><sel>fileSystemAttributesAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
|
|
|
<method type="const char*"><sel>fileSystemRepresentationWithPath:</sel><arg type="NSString*">path</arg>
|
2000-02-28 16:30:00 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>isDeletableFileAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>isExecutableFileAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>isReadableFileAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>isWritableFileAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
|
|
|
<method type="BOOL"><sel>linkPath:</sel><arg type="NSString*">source</arg><sel>toPath:</sel><arg type="NSString*">destination</arg><sel>handler:</sel><arg>handler</arg>
|
2000-02-28 16:30:00 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
|
|
|
<method type="BOOL"><sel>movePath:</sel><arg type="NSString*">source</arg><sel>toPath:</sel><arg type="NSString*">destination</arg><sel>handler:</sel><arg>handler</arg>
|
2000-02-28 16:30:00 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSString*"><sel>pathContentOfSymbolicLinkAtPath:</sel><arg type="NSString*">cStringPath</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>removeFileAtPath:</sel><arg type="NSString*">path</arg><sel>handler:</sel><arg>handler</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
|
|
|
<method type="NSString*"><sel>stringWithFileSystemRepresentation:</sel><arg type="const char*">string</arg>
|
2000-02-28 16:30:00 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="NSArray*"><sel>subpathsAtPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>fileManager:</sel><arg type="NSFileManager*">manager</arg><sel>shouldProceedAfterError:</sel><arg type="NSDictionary*">errorInfo</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
<method type="BOOL"><sel>fileManager:</sel><arg type="NSFileManager*">manager</arg><sel>willProcessPath:</sel><arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
2000-02-28 18:30:41 +00:00
|
|
|
</method>
|
2000-02-28 16:30:00 +00:00
|
|
|
</class>
|
|
|
|
</chapter>
|
|
|
|
</body>
|
|
|
|
</gsdoc>
|