Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

void nsILocalFile::initWithPath ( in AString  filePath  ) 

initWith[Native]Path

This function will initialize the nsILocalFile object. Any internal state information will be reset.

NOTE: This function has a known bug on the macintosh and other OSes which do not represent file locations as paths. If you do use this function, be very aware of this problem!

Parameters:
filePath A string which specifies a full file path to a location. Relative paths will be treated as an error (NS_ERROR_FILE_UNRECOGNIZED_PATH). For initWithNativePath, the filePath must be in the native filesystem charset.


Generated by  Doxygen 1.6.0   Back to index