Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1030418 // test_ExtendedCSVParser

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2611L/17K).

1  
svoid test_ExtendedCSVParser {
2  
  new ExtendedCSVParser parser;
3  
  parser.csv = [[
4  
    a,b,c
5  
    value,"quot "" ed","
6  
      multiple
7  
      ""lines""
8  
      wow", x
9  
  ]];
10  
  parser.onValueFound = v -> print("value found: " + v);
11  
  parser.onEndOfRecord = () -> print("End of record");
12  
  parser.run();
13  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030418
Snippet name: test_ExtendedCSVParser
Eternal ID of this version: #1030418/1
Text MD5: 26b39b601ec95fb8075ce794057bbbf6
Transpilation MD5: dc2e8038f31cb84d05fd11f77089cb2b
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-14 16:25:43
Source code size: 308 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 266
Referenced in: [show references]