package domain;
import data.FileControllerD;
import java.io.BufferedReader;
import javax.swing.JFileChooser;
import javax.swing.JTextArea;
import presentation.FileControllerP;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author jose.alberto.villaverde
*/
public class FileControllerDomain {
public JFileChooser openFile() {
FileControllerP _fc = new FileControllerP();
JFileChooser aux = _fc.openFile();
return aux;
}
public void openFile(JTextArea ta) {
FileControllerD _fc = new FileControllerD();
_fc.openFile(ta);
}
public void saveFile(JTextArea ta) {
FileControllerD _fc = new FileControllerD();
_fc.saveFile(ta);
}
public BufferedReader getFileR() {
FileControllerD fc = new FileControllerD();
BufferedReader a = fc.getFileR();
return a;
}
}