public void printf ( String format , Object value ) { Object object ; try { object = getProperty ( "out" ) ; } catch ( MissingPropertyException e ) { DefaultGroovyMethods . printf ( System . out , format , value ) ; return ; } InvokerHelper . invokeMethod ( object , "printf" , new Object [ ] { format , value } ) ; }
Prints a formatted string using the specified format string and argument .