Examples of retornaStringArquivo()


Examples of controleEstoque.arquivos.ControlCarregaArquivos.retornaStringArquivo()

        File file = new File("Fornecedor/fornecedor.txt");
        ControlCarregaArquivos controlCarrega;
        try {
            controlCarrega = new ControlCarregaArquivos(Arquivo.FORNECEDOR);
      
            String arquivo[] = controlCarrega.retornaStringArquivo();
            Fornecedor[] fornecedor;
            if(arquivo != null){
                fornecedor = new Fornecedor[arquivo.length];
                int i = 0, j = 0, h = 0;
                while(i < fornecedor.length){
View Full Code Here

Examples of controleEstoque.arquivos.ControlCarregaArquivos.retornaStringArquivo()

     * @throws IOException Impossível abrir o arquivo de texto
     */
    private Login[] carregaArquivo() throws IOException{
       
        ControlCarregaArquivos carregaArquivos = new ControlCarregaArquivos(Arquivo.LOGIN);
        String[] linhas = carregaArquivos.retornaStringArquivo();
        Login[] login = null;
       
        if(linhas != null){
            login = new Login[linhas.length/3];
            int i = 0, j = 0, h = 0;
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.