nsIPlacesImportExportService
| IID: | 21c00314-fa63-11db-8314-0800200c9a66 |
| Inherits From: | nsISupports |
The PlacesImportExport interface provides methods for importing and exporting Places data.
This interface is implemented by the following components:
Methods
void backupBookmarksFile ( )
void exportHTMLToFile ( nsILocalFile file )
void importHTMLFromFile ( nsILocalFile file , PRBool isInitialImport )
void importHTMLFromFileToFolder ( nsILocalFile file , PRInt64 folder , PRBool isInitialImport )
void exportHTMLToFile ( nsILocalFile file )
Saves the current bookmarks hierarchy to a bookmarks.html file.
- Arguments:
- file
void importHTMLFromFile ( nsILocalFile file , PRBool isInitialImport )
Loads the given bookmarks.html file and replaces it with the current bookmarks hierarchy (if isInitialImport is true) or appends it (if isInitialImport is false)
- Arguments:
- file
- isInitialImport
void importHTMLFromFileToFolder ( nsILocalFile file , PRInt64 folder , PRBool isInitialImport )
Loads the given bookmarks.html file and puts it in the given folder
- Arguments:
- file
- folder
- isInitialImport
Reference documentation is generated from Mozilla's source.
