Ticket #1444 (closed task: fixed)
Implement generic BFS writers and readers/parsers
| Reported by: | nicklas | Owned by: | nicklas |
|---|---|---|---|
| Priority: | critical | Milestone: | BASE 2.15 |
| Component: | core | Version: | |
| Keywords: | Cc: |
Description
Specification are found in #1440. The generic implementations should be re-usable when implementing the specific spotdata use-case.
Change History
comment:1 Changed 2 years ago by nicklas
- Owner changed from everyone to nicklas
- Status changed from new to assigned
comment:4 Changed 2 years ago by nicklas
(In [5198]) References #1444: Implement generic BFS writers and readers/parsers
Improved error handling and error messages. Added DataWriterFactory? and two generic implementations.
comment:6 Changed 2 years ago by nicklas
The parser implementations needs to be re-done. The current code can only parse one file at a time, but since data is split into several files and we don't want to keep everything in memory we need to parse multiple files synchronously line-by-line. But I also think we should keep a variant of the current implementation since it may be useful in other cases.
comment:8 Changed 2 years ago by nicklas
(In [5224]) References #1444: Implement generic BFS writers and readers/parsers
Added InputStreamLocator? and some implementations that are used to load files from disk and the BASE file system. Intended to be used to open data/annotation files referenced from the metadata.txt file.
Made some extensions to the EventHandler? interface so that we can get more information about the parsing process.
comment:10 Changed 2 years ago by nicklas
- Status changed from assigned to closed
- Resolution set to fixed
The parsers/writers are used in the spot data import/export.
