Visit Mozilla.org

nsILocalFile:appendRelativeNativePath

From MDC

« XPCOM API Reference

Contents

[edit] Summary

This method is used for appending a relative path to the current nsILocalFile. [native character encoding variant]

 [noscript] void appendRelativeNativePath(
   in ACString 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). This string must be encoded using the native character encoding.

[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

appendRelativePath, nsILocalFile