|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.scheisseichfindemalkeinen.hoster.URLParseObject
public class URLParseObject
This class is used as arguments for parsing the urls
| Constructor Summary | |
|---|---|
URLParseObject(java.lang.String containerURL,
java.lang.String thumbURL,
Pic pic)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
addHoster(Hoster hoster)
Set the last Host which parsed the URL |
void |
addInfo(java.lang.String name,
java.lang.Object value)
Add an Object to the info-array |
boolean |
checkExistInfo(java.lang.String name)
Check if an object exists for a key |
protected void |
finalize()
|
java.lang.String |
getContainerURL()
Returns the last container URL |
java.util.Vector<java.lang.String> |
getContainerURLs()
Returns the array with the container-URLs. |
java.lang.String |
getCorrectedFilename()
Returns the corrected filename |
java.lang.String |
getDirectLink()
Returns the parsed URL |
java.lang.String |
getFirstContainerURL()
Returns the first container URL |
java.lang.String |
getHosterStackTrace()
Returns the HosterStackTrace |
java.lang.Object |
getInfo(java.lang.String name)
Get the object for a key |
Host |
getLastHost()
Returns the last Host which parsed the URL or null if there isn't any |
Hoster |
getLastHoster()
Returns the last Host which parsed the URL |
Rule |
getLastRule()
Returns the last Host which parsed the URL or null if there isn't any |
Pic |
getPic()
Returns the pic |
java.lang.String |
getThumbURL()
Return the thumbnail URL |
protected boolean |
isLoop()
Method to detect if this object is in a loop when parsing. |
void |
setContainerURL(java.lang.String containerURL)
Set the container URL |
void |
setCorrectedFilename(java.lang.String correctedFilename)
Set the corrected filename |
void |
setDirectLink(java.lang.String directLink)
Set the parsed URL |
void |
setThumbURL(java.lang.String thumbURL)
Set the thumbnail URL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLParseObject(java.lang.String containerURL,
java.lang.String thumbURL,
Pic pic)
containerURL - Container-URLthumbURL - Thumbnail-URLpic - The Pic| Method Detail |
|---|
public void addInfo(java.lang.String name,
java.lang.Object value)
name - Keyvalue - Objectpublic boolean checkExistInfo(java.lang.String name)
name - Key
public java.lang.Object getInfo(java.lang.String name)
name - Key
public Pic getPic()
public java.lang.String getDirectLink()
public void setDirectLink(java.lang.String directLink)
directLink - the directLink to setpublic java.lang.String getCorrectedFilename()
public void setCorrectedFilename(java.lang.String correctedFilename)
correctedFilename - the correctedFilename to setpublic Hoster getLastHoster()
public Host getLastHost()
public Rule getLastRule()
protected void addHoster(Hoster hoster)
lastHost - the lastHost to setpublic java.lang.String getHosterStackTrace()
public java.util.Vector<java.lang.String> getContainerURLs()
public java.lang.String getFirstContainerURL()
public java.lang.String getContainerURL()
public void setContainerURL(java.lang.String containerURL)
containerURL - the containerURL to setpublic java.lang.String getThumbURL()
public void setThumbURL(java.lang.String thumbURL)
thumbURL - the thumbURL to setprotected boolean isLoop()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||