@ Override public void process ( Map < String , String > varMap , Writer out ) { try { if ( templateText == null ) { templateText = Utils . readFileIntoString ( input ) ; } String replacedString = replace ( varMap ) ; out . write ( replacedString ) ; out . flush ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Processes the template