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).

svoid test_ExtendedCSVParser {
  new ExtendedCSVParser parser;
  parser.csv = [[
    a,b,c
    value,"quot "" ed","
      multiple
      ""lines""
      wow", x
  ]];
  parser.onValueFound = v -> print("value found: " + v);
  parser.onEndOfRecord = () -> print("End of record");
  parser.run();
}

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: 184 / 265
Referenced in: [show references]