http://www.riico.co.in/,http://www.riico.co.in/ad-misc.htm, Rajasthan State Industrial Development and Investment Corporation,

26 February 2014

http://www.riico.co.in/,http://www.riico.co.in/ad-misc.htm, Rajasthan State Industrial Development and Investment Corporation,RIICO Recruitment 2014



S.No
Subject

  1.  
Recruitment of various posts in RIICO New
For further details click : http://www.riicorecruitment.org/

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  

  1.  
                                                                                                                                                                         

2 comments:

Bujji said...

hcf,gjndfkjglkjfdndsfdfsghfg

bujjigadu said...

package com.quicklyjava;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class CreateTextFile {
public static void main(String[] args) throws IOException {
String content = "This is the content to write into file";
File dir = new File("D:/Input_Doc");
boolean isDirCreated = dir.mkdirs();
for(int i=0;i<=100;i++){
File file = new File("D:/Input_Doc/extracted_text" + i + ".txt");
if(isDirCreated){
System.out.println("Directory created along with required nonexistent parent directories");
}
else{
CreateText(file);
}
System.out.println("Created the D:/Input_Doc/extracted_text" + i + ".txt");
FileWriter fw = new FileWriter(file.getAbsoluteFile());
BufferedWriter bw = new BufferedWriter(fw);
bw.write(content);
bw.close();
System.out.println("Updated the D:/Input_Doc/extracted_text" + i + ".txt with the Following");
}

}
public static void CreateText(File file){

if (!file.exists()) {
try {
file.createNewFile();
} catch (IOException e) {
e.printStackTrace();
}
}
}
}

 
 
HTML Hit Counter