FileDocCategorySizeDatePackage
FetchDebug.javaAPI DocExample368Fri Feb 23 12:23:06 GMT 2001None

FetchDebug.java

import com.darwinsys.util.Debug;

public class FetchDebug {
	public static void main(String[] args) { 
		String name = "poem", value;
		Fetch f = new Fetch();
		Debug.println("fetch", "Fetching " + name);
		value = f.fetch(name);
	}
	public String fetch(String name) {
		// in real life this would look up "name" in some table or database
		return "jabberwocky";
	}
}