|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.firstpartners.rp.back.extractor.util.Bookmarks
public class Bookmarks
Bookmarks reader for IE and Mozilla under windows, linux and unix
Field Summary | |
---|---|
static java.lang.String |
BOOKMARK_FILE
Bookmark file |
static java.lang.String |
BOOKMARK_URL
Url boormark |
private java.io.FileFilter |
bookmarkFilter
Bookmark filter |
java.lang.String |
IE_BOOKMARK
IE bookmarks |
static java.lang.String |
LINUX_MOZILLA_PATH
Linux mozilla path |
java.lang.String |
MOZILLA_BOOKMARK
Mozilla bookmarks |
private java.io.FileFilter |
urlFilter
Url filder |
static java.lang.String |
WIN_IE_PATH
Favorites folder |
static java.lang.String |
WIN_MOZILLA_PATH
Windoss mozilla path |
Constructor Summary | |
---|---|
Bookmarks()
Creates a new Bookmarks object. |
Method Summary | |
---|---|
java.util.LinkedList |
getBookmarks()
Get all the system bookmarks |
private java.lang.Object[] |
getDirectories(java.io.File path)
Gets the sub directories of the input directory. |
java.util.LinkedList |
getIEBookmarkList(java.io.File pathName)
Get the list of the IE - bookmarks! |
private java.lang.String |
getIEPropertyFromURLFiles(java.io.File file,
java.lang.String param)
Get the property from file |
java.util.LinkedList |
getMozillaBookmarkList(java.io.File pathName)
Get the list of the Mozilla - bookmarks! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BOOKMARK_URL
public static final java.lang.String BOOKMARK_FILE
public static final java.lang.String WIN_IE_PATH
public static final java.lang.String WIN_MOZILLA_PATH
public static final java.lang.String LINUX_MOZILLA_PATH
public java.lang.String IE_BOOKMARK
public java.lang.String MOZILLA_BOOKMARK
private java.io.FileFilter urlFilter
private java.io.FileFilter bookmarkFilter
Constructor Detail |
---|
public Bookmarks()
Method Detail |
---|
public java.util.LinkedList getIEBookmarkList(java.io.File pathName)
pathName
- Path to the favorites folder
public java.util.LinkedList getMozillaBookmarkList(java.io.File pathName)
pathName
- Path to the parrent of bookmarks file
private java.lang.String getIEPropertyFromURLFiles(java.io.File file, java.lang.String param) throws java.io.IOException, java.io.FileNotFoundException
file
- Property fileparam
- Requested parameter
java.io.IOException
- Exception occur in the communications
java.io.FileNotFoundException
private java.lang.Object[] getDirectories(java.io.File path)
path
- the directory to retreive sub directories from.
public java.util.LinkedList getBookmarks()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |