Code example for OutputStreamWriter

Methods: flush

0
	} 
 
	@Override 
	public void writeTo(Linkable linkable, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
			MultivaluedMap<String, Object> httpHeaders, OutputStream out) throws IOException, WebApplicationException {
        OutputStreamWriter writer = new OutputStreamWriter( out, charset);
        appendMethod(writer, new CapabilityLinkable( linkable ) );
        writer.flush();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE