Changes between Version 3 and Version 4 of waue/2012/0117
- Timestamp:
- Jan 16, 2012, 1:29:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2012/0117
v3 v4 51 51 52 52 }}} 53 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 }}}