2 * © 2009 David ‘Bombe’ Roden
4 package net.pterodactylus.arachne.core;
7 * Container for a freenet site. A freenet site consists of the routing and
8 * decryption keys and the basename, without the edition.
10 * @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
14 /** The key of the site. */
15 private final String key;
17 /** The basename of the site. */
18 private final String basename;
21 * Creates a new site with the given key and basename.
26 * The basename of the site
28 public Site(String key, String basename) {
30 this.basename = basename;
34 * The routing and decryption keys of the site.
36 * @return The site’s routing and decryption keys
38 public String getKey() {
43 * Returns the basename of the site, without the edition number.
45 * @return The site’s basename
47 public String getBasename() {