+ //
+ // ACTIONS
+ //
+
+ /**
+ * Fetches the given URI.
+ *
+ * @param uri
+ * The URI to fetch
+ * @return The result of the fetch, or {@code null} if an error occured
+ */
+ public FetchResult fetchUri(FreenetURI uri) {
+ try {
+ return client.fetch(uri);
+ } catch (FetchException fe1) {
+ logger.log(Level.WARNING, "Could not fetch “" + uri + "”!", fe1);
+ return null;
+ }
+ }
+