/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package XmlTest1;

import java.io.File;
import java.util.ArrayList;

/**
 *
 * @author kgto
 */
public class XmlSearchData2main {
    
    XmlSearchDataRW2 xmlrw = new XmlSearchDataRW2();
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        XmlSearchData2main testmain = new XmlSearchData2main();
        
        File file = new File("test.xml");
        
        testmain.testsave(file);
        
    }
    
    public XmlSearchData2main() {
    }
    
    public void testsave(File file) {
        
        ArrayList slist = new ArrayList();
        
        xmlrw.saveUrl("");
        xmlrw.saveSearchList(slist);
        xmlrw.write(file);
        
    }
    
}
