Package netaddr :: Package eui :: Class FileIndexer |
[frames] | no frames]

# Class FileIndexer

source code

         object --+
                  |
    core.Subscriber --+
                      |
                     FileIndexer

Stores index data found by a parser in a CSV file

Instance Methods
__init__(self, filename) Constructor. | source code
update(self, data) Write received record to a CSV file | source code
Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, filename) (Constructor) | source code
Constructor. filename - location of CSV index file. Overrides: object.__init__

### update(self, data) | source code
Write received record to a CSV file Parameters: `data` - record containing offset record information. Overrides: core.Subscriber.update