Java Text File Write writeString(String par0)

Here you can find the source of writeString(String par0)

Description

write String

License

LGPL

Declaration

public static void writeString(String par0) 

Method Source Code

//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();
        }
    }
}

Related

  1. writeString(String data, File file)
  2. writeString(String data, String file_path)
  3. writeString(String fileName, String str)
  4. writeString(String filePath, boolean append, String content, String encoding)
  5. writeString(String filePath, String content)
  6. writeString(String path, String key, String value)
  7. writeString(String path, String str)
  8. writeString(String path, String str, boolean append)
  9. writeString(String s, File output, String encoding)