Must define self.filename_map mapping from filename -> fileid
Must define self.fileid_info mapping from fileid -> (filename,size)
Methods
|
|
add_filename
load
|
|
add_filename
|
add_filename (
self,
filename,
size,
)
|
|
load
|
load (
self,
filename,
builder,
record_tag="record",
)
Exceptions
|
|
TypeError("Cannot identify file as a %s format" %( self.formatname, ) )
|
|
|