code: public static void writeToOutputStream(String s, OutputStream output) throws IOException {
  		writeToOutputStream(s, output, null);
  	}
docs: Writes the contents of a string to an output stream.
  
  @param s
  @param output
  @throws IOException