OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 151 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 151 Rev 174
Line 27... Line 27...
27
 * the License.
27
 * the License.
28
 */
28
 */
29
 
29
 
30
import java.io.BufferedReader;
30
import java.io.BufferedReader;
31
import java.io.Closeable;
31
import java.io.Closeable;
32
import java.io.FileReader;
-
 
33
import java.io.IOException;
32
import java.io.IOException;
34
import java.io.Reader;
33
import java.io.Reader;
35
import java.util.ArrayList;
34
import java.util.ArrayList;
36
import java.util.List;
35
import java.util.List;
37
 
36
 
Line 246... Line 245...
246
     */
245
     */
247
    public void close() throws IOException {
246
    public void close() throws IOException {
248
        br.close();
247
        br.close();
249
    }
248
    }
250
 
249
 
251
    public static void main(String[] args) throws IOException {
-
 
252
        CSVReader reader = new CSVReader(new FileReader("n:\\Sans nom 1.csv"));
-
 
253
        String[] s = reader.readNext();
-
 
254
        for (int i = 0; i < s.length; i++) {
-
 
255
            System.err.println("CSVReader.main() :" + i + " : " + s[i]);
-
 
256
        }
-
 
257
    }
-
 
258
}
250
}