32 def setPath(self, path): |
32 def setPath(self, path): |
33 """ |
33 """ |
34 Public method to set the path of the bookmarks file or directory. |
34 Public method to set the path of the bookmarks file or directory. |
35 |
35 |
36 @param path bookmarks file or directory (string) |
36 @param path bookmarks file or directory (string) |
|
37 @exception NotImplementedError raised to indicate this method must |
|
38 be implemented by a subclass |
37 """ |
39 """ |
38 raise NotImplementedError |
40 raise NotImplementedError |
39 |
41 |
40 def open(self): |
42 def open(self): |
41 """ |
43 """ |
42 Public method to open the bookmarks file. |
44 Public method to open the bookmarks file. |
43 |
45 |
44 @return flag indicating success (boolean) |
46 It must return a flag indicating success (boolean). |
|
47 |
|
48 @exception NotImplementedError raised to indicate this method must |
|
49 be implemented by a subclass |
45 """ |
50 """ |
46 raise NotImplementedError |
51 raise NotImplementedError |
47 |
52 |
48 def importedBookmarks(self): |
53 def importedBookmarks(self): |
49 """ |
54 """ |
50 Public method to get the imported bookmarks. |
55 Public method to get the imported bookmarks. |
51 |
56 |
52 @return imported bookmarks (BookmarkNode) |
57 It must return the imported bookmarks (BookmarkNode). |
|
58 |
|
59 @exception NotImplementedError raised to indicate this method must |
|
60 be implemented by a subclass |
53 """ |
61 """ |
54 raise NotImplementedError |
62 raise NotImplementedError |
55 |
63 |
56 def error(self): |
64 def error(self): |
57 """ |
65 """ |