de.scheisseichfindemalkeinen.hoster
Interface IRedirect

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Redirect

public interface IRedirect
extends java.util.EventListener

Interface which all redirect-classes have to implement


Method Summary
 java.lang.String getName()
          Returns the name of this class
 java.lang.String getURL(java.lang.String url)
          Returns the redirected URL
 java.lang.String getVersion()
          Returns the version of this class
 boolean isFromThisRedirect(java.lang.String url)
          Check if the redirect-class wants to redirect the URL
 

Method Detail

isFromThisRedirect

boolean isFromThisRedirect(java.lang.String url)
Check if the redirect-class wants to redirect the URL

Parameters:
url - URL
Returns:
True/False

getURL

java.lang.String getURL(java.lang.String url)
Returns the redirected URL

Parameters:
url - URL
Returns:
Redirected-URL

getVersion

java.lang.String getVersion()
Returns the version of this class

Returns:
Version

getName

java.lang.String getName()
Returns the name of this class

Returns:
Name