File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
repository/Neo-CSV-Magritte Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 66 ' readerClass' ,
77 ' recordClass' ,
88 ' source' ,
9- ' columnNames'
9+ ' columnNames' ,
10+ ' recordMagritteDescription'
1011 ],
1112 #category : #' Neo-CSV-Magritte-Visitors'
1213}
@@ -58,7 +59,7 @@ MACSVImporter >> importStream: aStream [
5859 | fields |
5960 self configureReaderFor: aStream.
6061
61- fields := self recordClass new magritteDescription children.
62+ fields := self recordMagritteDescription children.
6263 self columnNames
6364 do: [ :h |
6465 fields
@@ -105,6 +106,18 @@ MACSVImporter >> recordClass: aClass [
105106 recordClass := aClass
106107]
107108
109+ { #category : #' as yet unclassified' }
110+ MACSVImporter >> recordMagritteDescription [
111+
112+ ^ recordMagritteDescription ifNil: [ recordMagritteDescription := self recordClass new magritteDescription ]
113+ ]
114+
115+ { #category : #' as yet unclassified' }
116+ MACSVImporter >> recordMagritteDescription: anMAContainer [
117+
118+ recordMagritteDescription := anMAContainer
119+ ]
120+
108121{ #category : #accessing }
109122MACSVImporter >> source [
110123
You can’t perform that action at this time.
0 commit comments