core/src/main/java/com/opentext/ia/sdk/sip/FileGenerator.java
public FileGenerationMetrics generate(Iterator<C> components) throws IOException {
    File result = fileSupplier.get();
    return new FileGenerationMetrics(result, generate(components, new FileBuffer(result)));
  }
public FileGenerationMetrics generate(Iterator<C> components) throws IOException {
    File result = fileSupplier.get();
    return new FileGenerationMetrics(result, generate(components, new FileBuffer(result)));
  }
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.
@param components The components to assemble
@return The generated file and metrics about the generation process
@throws IOException When an I/O error occurs
Generate a file by assembling components .