// in real life this would look up "name" in some table or database return "jabberwocky";
String name = "poem", value; Fetch f = new Fetch(); if (System.getProperty("debug.fetch") != null) { System.err.println("Fetching " + name); } value = f.fetch(name);