sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36016
Re: [Question #278890]: read and write
Question #278890 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/278890
surya posted a new comment:
import java.io.*;
import java.io.FileReader;
public class k
{
public static void main(String args[])throws IOException
{
String p="D:\\surya\\New folder";
File dir=new File(p);
File[] files=dir.listFiles();
for(File f : files)
if(f.isFile())
{
BufferedReader ins=null;
ins=new BufferedReader(new FileReader(f));
String line;
System.out.print("[");
System.out.print(f.getName());
System.out.print("_DINAMALAR_DATE]\n");
{
while((line=ins.readLine())!=null)
{
System.out.println(line);
}
}
}}}
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.