All pastes #797554 Raw Edit

dsa

public text v1 · immutable
#797554 ·published 2007-11-26 02:40 UTC
rendered paste body
   try {
        BufferedReader in = new BufferedReader(new FileReader(arquivo));
        String str;
        
        while ((str = in.readLine()) != null) {
        	linha++;
        	
        	if(linha == 1) { 
        		cabecalho = str.split(",");
        		n_colunas = cabecalho.length;
        		        		
        		for(int i = 0; i < cabecalho.length; i++) {
        			//$coluna[$i] = array();
        			//coluna.add(0, i);
        			
        		//	System.out.println(coluna.get(i));
        		}
        		} else if(linha > 1) {
        		
        	}
        	
        	
        }
        in.close();
    } catch (IOException e) {
	}