java _file_write
2011-08-13 07:51:27

1:/** Simple Program to write a text file

2:*/

3:

4:import java.io.*;

5:

6:public class WriteText{

7: public static void main(String[] args){

8: try {

9: FileWriter outFile = new FileWriter(args[0]);

10: PrintWriter out = new PrintWriter(outFile);

11:

12: // Also could be written as follows on one line

13: // Printwriter out = new PrintWriter(new FileWriter(args[0]));

14:

15: // Write text to file

16: out.println("This is line 1");

17: out.println("This is line 2");

18: out.print("This is line3 part 1, ");

19: out.println("this is line 3 part 2");

20: out.close();

21: } catch (IOException e){

22: e.printStackTrace();

23: }

24: }

25:}

▼ more
worklist
2011-08-12 18:54:47

Paper

Make the problem clear

SA

Study about PCM and audio files

Examine the wav, raw file + Make document

Visualize Audio file

Work

upload all data

do work

▼ more
이번엔 제대로 껐겠지?? ㅎㄷㄷ
2011-08-12 17:08:34

ㅠㅠ

▼ more
hadoop cluster
2011-08-12 17:01:05

master : bike-hadoop-110812

slave : bike-hadoop-110718

▼ more