Code example for StreamResult

0
        File file,
        OutputProperties format) 
        throws java.io.IOException, TransformerException 
  { 
 
      SerializationHandler serializer =
          transformer.createSerializationHandler(
              new StreamResult(ostream),
              format);
      return serializer;
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE