NSFileHandle Class 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) dealloc  
 

Release the content of CSV data.

Description
Release the content of CSV data.

Reimplemented from NSObject.

+ (id) fileHandleForReadingAtPath: (NSString *)  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) fileHandleForUpdatingAtPath: (NSString *)  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) fileHandleForWritingAtPath: (NSString *)  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) initFileHandle: (FILE *)  fp  
 

Initialize NSFileHandle instance.

Returns:
The object itself.
Description
Initialize NSFileHandle instance.

- (NSData *) readDataToEndOfFile  
 

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*) file_pointer [protected]
 

Pointer of data stream


The documentation for this class was generated from the following files:
Generated on Fri Feb 3 00:13:01 2006 for Cacao by  doxygen 1.4.5