Package domain

Examples of domain.FileControllerDomain.openFile()


    * @return BufferedReader amb el contingut del fitxer de text.
    * @throws -
    */
    public BufferedReader getFileR() {
            FileControllerDomain fCD = new FileControllerDomain();
            _fc = fCD.openFile();
            /*
             * LA FUNCIO DE SOBR S'HAURIA D'INVOCAR AL CONTROLADOR DE DOMINI
                PROPI DE CADA SUBGRUP, HE POSAT EL DE PRESENTACIO PER COMODITAT
             */
            File fitxer = _fc.getSelectedFile();
View Full Code Here


    * @return BufferedWriter des d'on es pot afegir contingut al fitxer de text.
    * @throws -
    */
     public BufferedWriter getFileW() {
            FileControllerDomain fCD = new FileControllerDomain();
            _fc = fCD.openFile();
            /*
             * LA FUNCIO DE SOBRE S'HAURIA D'INVOCAR AL CONTROLADOR DE DOMINI
                PROPI DE CADA SUBGRUP, HE POSAT EL DE PRESENTACIO PER COMODITAT
             */
            File fitxer = _fc.getSelectedFile();
View Full Code Here

    public String open() {

    FileControllerDomain fCntrl = new FileControllerDomain();
    JTextArea aux = new JTextArea();
    try {
      fCntrl.openFile(aux);
    }
    catch(Exception e) {
    }
    return aux.getText();
View Full Code Here

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.