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">
|
2000-04-10 05:32:04 +00:00
|
|
|
<gsdoc base="NSFileManager" prev="NSFileHandle.html" next="NSFormatter.html" up="Base.html">
|
2000-02-28 16:30:00 +00:00
|
|
|
<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>
|
2000-02-29 11:01:41 +00:00
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
<method type="NSFileManager*" factory="yes">
|
|
|
|
<sel>defaultManager</sel>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>changeCurrentDirectoryPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>changeFileAttributes:</sel>
|
|
|
|
<arg type="NSDictionary*">attributes</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSData*">
|
|
|
|
<sel>contentsAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>contentsEqualAtPath:</sel>
|
|
|
|
<arg type="NSString*">path1</arg>
|
|
|
|
<sel>andPath:</sel>
|
|
|
|
<arg type="NSString*">path2</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</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>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>createDirectoryAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<sel>attributes:</sel>
|
|
|
|
<arg type="NSDictionary*">attributes</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<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>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>createSymbolicLinkAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<sel>pathContent:</sel>
|
|
|
|
<arg type="NSString*">otherPath</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSString*">
|
|
|
|
<sel>currentDirectoryPath</sel>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSArray*">
|
|
|
|
<sel>directoryContentsAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSDirectoryEnumerator*">
|
|
|
|
<sel>enumeratorAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSDictionary*">
|
|
|
|
<sel>fileAttributesAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<sel>traverseLink:</sel>
|
|
|
|
<arg type="BOOL">flag</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>fileExistsAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>fileExistsAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<sel>isDirectory:</sel>
|
|
|
|
<arg type="BOOL*">isDirectory</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSDictionary*">
|
|
|
|
<sel>fileSystemAttributesAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="const char*">
|
|
|
|
<sel>fileSystemRepresentationWithPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>isDeletableFileAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>isExecutableFileAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>isReadableFileAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>isWritableFileAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</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>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</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>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSString*">
|
|
|
|
<sel>pathContentOfSymbolicLinkAtPath:</sel>
|
|
|
|
<arg type="NSString*">cStringPath</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>removeFileAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<sel>handler:</sel>
|
|
|
|
<arg>handler</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSString*">
|
|
|
|
<sel>stringWithFileSystemRepresentation:</sel>
|
|
|
|
<arg type="const char*">string</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="NSArray*">
|
|
|
|
<sel>subpathsAtPath:</sel>
|
|
|
|
<arg type="NSString*">path</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<method type="BOOL">
|
|
|
|
<sel>fileManager:</sel>
|
|
|
|
<arg type="NSFileManager*">manager</arg>
|
|
|
|
<sel>shouldProceedAfterError:</sel>
|
|
|
|
<arg type="NSDictionary*">errorInfo</arg>
|
|
|
|
<desc>
|
|
|
|
</desc>
|
|
|
|
</method>
|
|
|
|
<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>
|