* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
-
package jtssplitter;
-import java.io.File;
/**
*
/**
* @param args the command line arguments
+ *
*/
public static void main(String[] args) {
// TODO code application logic here
- String inf,outf;
- int ch=0;
- inf="";
- outf="";
- for (int i=0;i<args.length;i++){
+ String inf;
+ String outf;
+ int ch = 0;
+ inf = "";
+ outf = "";
+ for (int i = 0; i < args.length; i++) {
System.out.println(args[i]);
}
- if (args.length>1){
- inf=args[0];
- outf=args[1];
- if (args.length>2){
- ch=Integer.parseInt(args[2].trim(),10);
+ if (args.length > 1) {
+ inf = args[0];
+ outf = args[1];
+ if (args.length > 2) {
+ ch = Integer.parseInt(args[2].trim(), 10);
}
}
- Tsfile t1=new Tsfile();
- t1.splitTS(inf,outf,ch);
+ Tsfile t1 = new Tsfile();
+ t1.splitTS(inf, outf, ch);
}
}