Implemented by
The PlacesImportExport interface provides methods for importing and exporting Places data.
[scriptable, uuid(21c00314-fa63-11db-8314-0800200c9a66)]
interface nsIPlacesImportExportService : nsISupports
Methods
Backup the bookmarks.html file.
void
backupBookmarksFile()
Saves the current bookmarks hierarchy to a bookmarks.html file.
void
exportHTMLToFile(in nsILocalFile aFile)
Loads the given bookmarks.html file and replaces it with the current bookmarks hierarchy (if aIsInitialImport is true) or appends it (if aIsInitialImport is false)
void
importHTMLFromFile(in nsILocalFile aFile, in boolean aIsInitialImport)
Loads the given bookmarks.html file and puts it in the given folder
void
importHTMLFromFileToFolder(in nsILocalFile aFile, in PRInt64 aFolder, in boolean aIsInitialImport)
Compare to: