Package domain

Source Code of domain.FileControllerDomain

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;
  }
}
TOP

Related Classes of domain.FileControllerDomain

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.