@Override public void apply(NexusStreamParser np) throws Exception {
  np.matchIgnoreCase("setProp");
  String label=np.getWordRespectCase();
  np.matchIgnoreCase("=");
  String value=np.getWordRespectCase();
  if (NexusStreamParser.isBoolean(value)) {
    ProgramProperties.put(label,Boolean.parseBoolean(value));
  }
 else   if (NexusStreamParser.isInteger(value)) {
    ProgramProperties.put(label,Integer.parseInt(value));
  }
 else   if (NexusStreamParser.isFloat(value)) {
    ProgramProperties.put(label,Float.parseFloat(value));
  }
 else   ProgramProperties.put(label,value);
  np.matchIgnoreCase(";");
}

@ Override public void apply ( NexusStreamParser np ) throws Exception { np . matchIgnoreCase ( "setProp" ) ; String label = np . getWordRespectCase ( ) ; np . matchIgnoreCase ( "=" ) ; String value = np . getWordRespectCase ( ) ; if ( NexusStreamParser . isBoolean ( value ) ) { ProgramProperties . put ( label , Boolean . parseBoolean ( value ) ) ; } else if ( NexusStreamParser . isInteger ( value ) ) { ProgramProperties . put ( label , Integer . parseInt ( value ) ) ; } else if ( NexusStreamParser . isFloat ( value ) ) { ProgramProperties . put ( label , Float . parseFloat ( value ) ) ; } else ProgramProperties . put ( label , value ) ; np . matchIgnoreCase ( ";" ) ; }
parses the given command and executes it
