public static void main(String args[])throws Exception{
SequenceStreamDemo1 ssd = new SequenceStreamDemo1();
ssd.mergeFile();
}
public void mergeFile() throws Exception{
String[] path = new String[]{"E:\\1.txt","E:\\2.txt","E:\\3.txt"};
Vector<FileInputStream> v = new Vector<FileInputStream>();
Enumeration<FileInputStream> en = v.elements();
SequenceInputStream sis = new SequenceInputStream(en);
FileOutputStream fos = new FileOutputStream("E:\\4.txt");