| Return Type | Method Summary |
| void | CloseFile(void *filePtr)
This function closes the file pointed by the file pointer. |
| INT32 | GetFileLength(CHAR *fName)
It will calculate the length of the file which is coming as argument and returns it . |
| CHAR | InitResource()
Assigns the funtions pointers in the Resource operation structure to appropriate functions. |
| CHAR | IsEndOfFile(void *filePtr)
This function finds out whether the file pointer has come to the end or not. |
| void* | OpenAFile(CHAR *fileName, CHAR *mode)
This function opens the file specified in the argument in the specified mode. |
| CHAR | ReadALineFromFile(void *filePtr, StringBuffer *strBuf)
This function reads a line from the file and stores it in the Stringbuffer. |
| CHAR* | ReadFileContents(CHAR *fileName, INT32 *bufLen)
It will return the contents of the file coming as the argument and returns NULL if it is not available. |
| Method Details |