2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
8 import java.io.FileWriter;
9 import java.io.IOException;
10 import java.util.logging.Level;
11 import java.util.logging.Logger;
18 public void writeCHList(String tspath,String listpath){
21 Tsfile tsf = new Tsfile();
22 Integer[] programnum = tsf.getProgramNum_byte(tspath);
24 for (int i = 0; i < programnum.length; i++) {
25 str = str + programnum[i].toString() + "\n";
27 fw = new FileWriter(listpath);
30 } catch (IOException ex) {
31 Logger.getLogger(Chlist.class.getName()).log(Level.SEVERE, null, ex);
35 } catch (IOException ex) {
36 Logger.getLogger(Chlist.class.getName()).log(Level.SEVERE, null, ex);