Changes between Version 4 and Version 5 of waue/2012/0117


Ignore:
Timestamp:
Jan 16, 2012, 6:45:21 PM (12 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2012/0117

    v4 v5  
    5252}}}
    5353
    54 
    55 {{{
    56 #!java
    57                BufferedReader fi = new BufferedReader(
    58                                 new FileReader(new File(file_in)));
    59 
    60                 String line;
    61                 while ((line = fi.readLine()) != null) {
    62 
    63                         String[] str = line.split(";");
    64                         int length = str.length -1;
    65 
    66                         for (int i = 0; i < length; i++) {
    67                                 E2PutData.putData(table_name, str[0], family, "P" + (i+1),
    68                                                 str[(i + 1)]);
    69                         }
    70                         System.out.println();
    71                 }
    72                 fi.close();
    73 
    74 
    75 }}}