/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package clips.service.mes;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.xBaseJ.micro.DBF;
import org.xBaseJ.micro.xBaseJException;
/**
*
* @author finder
*/
public class DBMesImport {
public void dbImport(File dbFile){
try {
DBF dbf = new DBF(dbFile.getAbsolutePath(), "cp866");
System.out.println("DBMesImport: parse file '" + dbFile.getName());
}
catch (xBaseJException ex) {
Logger.getLogger(DBMesImport.class.getName()).log(Level.SEVERE, null, ex);
}
catch (IOException ex) {
Logger.getLogger(DBMesImport.class.getName()).log(Level.SEVERE, null, ex);
}
}
}