Visit Mozilla.org

nsIFile:append

From MDC

« XPCOM API Reference

[edit] Summary

This method is used for constructing a descendent of the current nsIFile.

 void append(
   in AString aNode
 );
This method does not return a new nsIFile; it modifies the object it was called on. If the old nsIFile should be retained, use nsIFile:clone.

[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.

[edit] Exceptions Thrown

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