import "sbITemporaryFileService.idl";
Public Member Functions | |
nsIFile | createFile (in unsigned long aType,[optional] in AString aBaseName,[optional] in AString aExtension) |
Create and return a new and unique temporary file of the type specified by aType. If aBaseName is specified, use aBaseName as the base name of the file. If aExtension is specified, use aExtension as the file extension. | |
Public Attributes | |
readonly attribute nsIFile | rootTemporaryDirectory |
Root directory of temporary files and directories. |
"@songbirdnest.com/Songbird/TemporaryFileService;1" Use get service with this component.
Definition at line 45 of file sbITemporaryFileService.idl.
nsIFile sbITemporaryFileService::createFile | ( | in unsigned long | aType, | |
[optional] in AString | aBaseName, | |||
[optional] in AString | aExtension | |||
) |
Create and return a new and unique temporary file of the type specified by aType. If aBaseName is specified, use aBaseName as the base name of the file. If aExtension is specified, use aExtension as the file extension.
aType | Type of file to create. One of nsIFile file types. | |
aBaseName | Optional file base name. | |
aExtension | Optional file extension. |