Code example for DataInput

Methods: readUTF

0
		out.writeUTF(message);
	} 
 
	@Override 
	public void fromStream(DataInput in) throws IOException {
        super.fromStream(in);
        message = in.readUTF();
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE