Visit Mozilla.org

nsIFile:appendNative

From MDC

« XPCOM API Reference

[edit] Summary

This method is used for constructing a descendent of the current nsIFile. [native character encoding variant]

 [noscript] void appendNative(
   in ACString aNode
 );

[edit] Parameters

aNode
[in] A string that is intended to be a child node of the current nsIFile. This string must not contain a path separator character. This string must be encoded using the native character encoding.

[edit] Exceptions Thrown

NS_ERROR_FILE_UNRECOGNIZED_PATH - Indicates that aNode incorrectly contains a path separator character.