core/src/main/java/com/opentext/ia/sdk/sip/Generator.java
public Metrics generate(C component, DataBuffer product) throws IOException {
    return generate(Collections.singletonList(component), product);
  }
public Metrics generate(C component, DataBuffer product) throws IOException {
    return generate(Collections.singletonList(component), product);
  }
public Metrics generate ( C component , DataBuffer product ) throws IOException { return generate ( Collections . singletonList ( component ) , product ) ; }
Generate a product from a single piece.
@param component The component to generate the product from
@param product The output to write the assembled product to
@return Metrics about the generation process
@throws IOException When an I/O error occurs
Generate a product from a single piece .