Visit Mozilla.org

nsILocalFile:appendRelativePath

From MDC

« XPCOM API Reference

Contents

[edit] Summary

This method is used for appending a relative path to the current nsILocalFile.

 void appendRelativePath(
   in AString aRelPath
 );

[edit] Parameters

aRelPath
[in] A string that is a platform-specific relative path. This string may not contain ".." and may not begin with a path separator character (e.g., '/' under UNIX).

[edit] Exceptions Thrown

NS_ERROR_FILE_UNRECOGNIZED_PATH
Indicates that aRelPath incorrectly begins with a path separator character or otherwise contains invalid characters.

[edit] See Also

nsILocalFile