org.japtproxy.misc
Class Backend
java.lang.Object
org.japtproxy.misc.Backend
public class Backend
- extends java.lang.Object
This class holds the backend configuration.
- Version:
- $LastChangedRevision: 116 $
- Author:
- Oliver J. Siegmar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Backend
public Backend(BackendType type)
getType
public BackendType getType()
getDirectory
public java.io.File getDirectory()
- Returns:
- Returns the directory.
setDirectory
public void setDirectory(java.io.File directory)
- Parameters:
directory - The directory to set.
getUrls
public java.util.Set<java.net.URL> getUrls()
- Returns:
- Returns the hosts.
setUrls
public void setUrls(java.util.Set<java.net.URL> urls)
- Parameters:
urls - The hosts to set.
addUrl
public void addUrl(java.net.URL url)
- Parameters:
url - The host to add.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2006-2008. All Rights Reserved.