de.scheisseichfindemalkeinen.hoster
Class Hoster

java.lang.Object
  extended by de.scheisseichfindemalkeinen.hoster.Hoster
Direct Known Subclasses:
Host, Rule

public abstract class Hoster
extends java.lang.Object

Host and Rule extends this class, so we have a class which could be a Host or a Rule. We need this on the URLParseObject

See Also:
URLParseObject

Constructor Summary
Hoster()
           
 
Method Summary
 boolean isDeveloper()
          Returns the developer
 boolean removeDuplicateEqualsMethod(URL url1, URL url2)
          Method to compare to URLs for removing duplicate URLs Attention: This Method is called always when the equals-Method on an URL-Object is called.
 void setDeveloper(boolean developer)
          Sets the developer
abstract  java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hoster

public Hoster()
Method Detail

isDeveloper

public boolean isDeveloper()
Returns the developer

Returns:
developer

setDeveloper

public void setDeveloper(boolean developer)
Sets the developer

Parameters:
developer - developer

removeDuplicateEqualsMethod

public boolean removeDuplicateEqualsMethod(URL url1,
                                           URL url2)
Method to compare to URLs for removing duplicate URLs Attention: This Method is called always when the equals-Method on an URL-Object is called. And this happens as example on contains-Method on Collections and so on. So don't overwrite this Method until it is really necessary! If you overwrite this Method, then you have to know what you are doing!

Parameters:
url1 - URL
url2 - URL
Returns:
True if url1 equals url2

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Object