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. More... | |
Public Attributes | |
readonly attribute nsIFile | rootTemporaryDirectory |
Root directory of temporary files and directories. More... | |
The sbITemporaryFileService interface provides support for creating temporary files and directories. These files and directories are deleted when the application quits.
"@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. |
readonly attribute nsIFile sbITemporaryFileService::rootTemporaryDirectory |
Root directory of temporary files and directories.
Definition at line 51 of file sbITemporaryFileService.idl.