}
Sone sone;
try {
+ logger.log(Level.FINEST, "Creating new Sone ā%sā at %s (%s)ā¦", new Object[] { name, requestUri, insertUri });
sone = new Sone(UUID.randomUUID(), name, new FreenetURI(requestUri), new FreenetURI(insertUri));
} catch (MalformedURLException mue1) {
throw new SoneException(Type.INVALID_URI);
return sone;
}
+ /**
+ * Deletes the given Sone from this plugin instance.
+ *
+ * @param sone
+ * The sone to delete
+ */
+ public void deleteSone(Sone sone) {
+ localSones.remove(sone);
+ }
+
//
// SERVICE METHODS
//