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

FetchDebug

public class FetchDebug extends Object

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Stringfetch(java.lang.String name)

		// in real life this would look up "name" in some table or database
		return "jabberwocky";
	
public static voidmain(java.lang.String[] args)

 
		String name = "poem", value;
		Fetch f = new Fetch();
		Debug.println("fetch", "Fetching " + name);
		value = f.fetch(name);