eric7.WebBrowser.Bookmarks.BookmarksImporters.HtmlImporter
Module implementing an importer for HTML bookmark files.
Global Attributes
Classes
| HtmlImporter | Class implementing the HTML bookmarks importer. | 
Functions
HtmlImporter
    Class implementing the HTML bookmarks importer.
Derived from
BookmarksImporter
Class Attributes
Class Methods
Methods
| HtmlImporter | Constructor | 
| importedBookmarks | Public method to get the imported bookmarks. | 
| open | Public method to open the bookmarks file. | 
| setPath | Public method to set the path of the bookmarks file or directory. | 
Static Methods
HtmlImporter (Constructor)
HtmlImporter(sourceId="", parent=None)
        Constructor
- sourceId (str (optional))
- 
source ID (defaults to "")
- parent (QObject (optional))
- 
reference to the parent object (defaults to None)
HtmlImporter.importedBookmarks
importedBookmarks()
        Public method to get the imported bookmarks.
- Return:
- 
imported bookmarks
- Return Type:
- 
BookmarkNode
HtmlImporter.open
open()
        Public method to open the bookmarks file.
- Return:
- 
flag indicating success
- Return Type:
- 
bool
HtmlImporter.setPath
setPath(path)
        Public method to set the path of the bookmarks file or directory.
- path (str)
- 
bookmarks file or directory
createImporter
createImporter(sourceId="", parent=None)
    Constructor
- sourceId (str (optional))
- 
source ID (defaults to "")
- parent (QObject (optional))
- 
reference to the parent object (defaults to None)
- Return:
- 
reference to the instantiated importer object
- Return Type:
- 
HtmlImporter
getImporterInfo
getImporterInfo(sourceId)
    Module function to get information for the given HTML source id.
- sourceId (str)
- 
id of the browser
- Return:
- 
tuple with an icon, readable name, name of the default
        bookmarks file, an info text, a prompt and the default directory
        of the bookmarks file
- Return Type:
- 
tuple of (QPixmap, str, str, str, str, str)
- Raises ValueError:
- 
raised to indicate an invalid browser ID