youki吧 关注:112贴子:14,641
  • 4回复贴,共1


1楼2015-01-13 19:26回复


    IP属地:四川来自Android客户端2楼2015-01-16 14:29
    回复
      install testNG from Eclipse http://beust.com/eclipse


      3楼2015-04-01 15:48
      回复
        public StringBuffer ReadFileTolines(String FileName){
        // TODO Auto-generated method stub
        File test = new File(FileName);
        StringBuffer result = new StringBuffer();
        try {
        FileReader fr = new FileReader(test);
        BufferedReader br = new BufferedReader(fr);
        String line = br.readLine();
        while(line!=null){
        result.append(line);
        line = br.readLine();
        }
        br.close();
        } catch (FileNotFoundException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
        } catch (IOException e)
        {
        // TODO Auto-generated catch block
        e.printStackTrace();
        }
        return result;
        }


        4楼2015-04-02 11:51
        回复
          11


          IP属地:四川来自Android客户端5楼2015-04-18 18:04
          回复