#1444 closed task (fixed)
Implement generic BFS writers and readers/parsers
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
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 (12)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
comment:4 by , 15 years ago
(In [5198]) References #1444: Implement generic BFS writers and readers/parsers
Improved error handling and error messages. Added DataWriterFactory and two generic implementations.
comment:5 by , 15 years ago
comment:6 by , 15 years ago
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:7 by , 15 years ago
comment:8 by , 15 years ago
(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:9 by , 15 years ago
comment:10 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The parsers/writers are used in the spot data import/export.
(In [5193]) References #1444: Implement generic BFS writers and readers/parsers
Implemented writers and parsers for metadata and annotation files. I am not 100% sure the event system for getting the data out is flexible enough.