public String getSingleProp ( Prop . Names prop ) throws CommandExecutionException { Map < Prop . Names , String > value = getProps ( new Prop . Names [ ] { prop } ) ; String valueString = value . get ( prop ) ; if ( valueString == null ) throw new CommandExecutionException ( CommandExecutionException . Error . INVALID_RESPONSE ) ; return valueString ; }
Get a single property value from the device .