FileDocCategorySizeDatePackage
CommandParser.javaAPI DocExample1207Sat Jan 24 10:44:34 GMT 2004je3.gui

CommandParser

public class CommandParser extends Object implements ResourceParser
This class parses a Command object from a GUIResourceBundle. It uses the Command.parse() method to perform all the actual parsing work.

Fields Summary
static final Class[]
supportedTypes
Constructors Summary
Methods Summary
public java.lang.Class[]getResourceTypes()

        return supportedTypes;
public java.lang.Objectparse(GUIResourceBundle bundle, java.lang.String key, java.lang.Class type)

	String value = bundle.getString(key);  // look up the command text
	return Command.parse(bundle.getRoot(), value);  // parse it!