Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

NSFileHandle Interface Reference

NSFileHandle operates data file. More...

#import <nsfilehandle.h>

Inheritance diagram for NSFileHandle:

NSObject List of all members.

Public Member Functions

(id) initFileHandle:
 Initialize NSFileHandle instance.

(void) dealloc
 Release the content of CSV data.

(NSData *) readDataToEndOfFile
 Read all data in the file to read.


Static Public Member Functions

(id) fileHandleForReadingAtPath:
 Generate file hadler to read a file.

(id) fileHandleForWritingAtPath:
 Generate file hadler to write a file.

(id) fileHandleForUpdatingAtPath:
 Generate file hadler to update a file.


Protected Attributes

FILE * file_pointer

Detailed Description

NSFileHandle operates data file.

Description
NSFileHandle operates data file.


Member Function Documentation

- (void) NSFileHandle:
 

Release the content of CSV data.

Description
Release the content of CSV data.

Implements NSObject.

+ (id) NSFileHandle: (id) 
(NSString *) 
(id)  path
 

Generate file hadler to read a file.

Returns:
Generated object.
Parameters:
path File name with path to read. if you pass null, standard input is used.
Description
Generate file hadler to read a file. If you pass null pointer as path, standard input is used to read the file.

+ (id) NSFileHandle: (id) 
(NSString *) 
(id)  path
 

Generate file hadler to update a file.

Returns:
Generated NSFileHandler object.
Parameters:
path File name with path to update.
Description
Generate file hadler to update a file.

+ (id) NSFileHandle: (id) 
(NSString *) 
(id)  path
 

Generate file hadler to write a file.

Returns:
Generated NSFileHandler object.
Parameters:
path File name with path to write.
Description
Generate file hadler to write a file.

- (id) NSFileHandle: (id) 
(FILE *) 
(id)  fp
 

Initialize NSFileHandle instance.

Returns:
The object itself.
Description
Initialize NSFileHandle instance.

- (NSData *) NSFileHandle:
 

Read all data in the file to read.

Returns:
Content data of the file.
Description
Read all data in the file to read.


Member Data Documentation

FILE* NSFileHandle::file_pointer [protected]
 

Pointer of data stream


The documentation for this interface was generated from the following file:
Generated on Wed Jul 14 18:32:13 2004 for Cacao by doxygen 1.3.6