NormalParserAction.javaAPI DocJava SE 5 API884Fri Aug 26 14:54:28 BST


public class NormalParserAction extends ParserActionBase

Fields Summary
Constructors Summary
public NormalParserAction(String propertyName, Operation operation, String fieldName)

	super( propertyName, false, operation, fieldName ) ;
Methods Summary
public java.lang.Objectapply(java.util.Properties props)
Create a String[] of all suffixes of property names that match the propertyName prefix, pass this to op, and return the result.

	Object value = props.getProperty( getPropertyName() ) ;
	if (value != null)
	    return getOperation().operate( value ) ;
	    return null ;