Here you can find the source of writeString(String par0)
public static void writeString(String par0)
//package com.java2s; //License from project: LGPL import java.io.DataOutputStream; import java.io.IOException; public class Main { public static DataOutputStream dataOS; public static void writeString(String par0) { try {//from w w w. j a v a 2 s .c o m dataOS.writeUTF(par0); } catch (IOException ex) { ex.printStackTrace(); } } }