public FileGenerationMetrics generate ( Iterator < C > components ) throws IOException { File result = fileSupplier . get ( ) ; return new FileGenerationMetrics ( result , generate ( components , new FileBuffer ( result ) ) ) ; }
Generate a file by assembling components .