|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spider.util.Redirections
maintains a static datastructure of redirections
Constructor Summary | |
Redirections()
|
Method Summary | |
static boolean |
addElement(java.lang.String url1,
java.lang.String url2)
add a redirection entry to the Hashtable |
static java.lang.String |
getLocation(java.lang.String URL)
get the redirected location |
static int |
size()
get size of resirections hash |
static void |
toFile(java.lang.String filename)
write redirection data collected into the given filename |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Redirections()
Method Detail |
public static boolean addElement(java.lang.String url1, java.lang.String url2)
public static void toFile(java.lang.String filename)
public static java.lang.String getLocation(java.lang.String URL)
public static int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |