final ZipFile zFile= new ZipFile(instDef);
final ZipEntry entry = zFile.entries().nextElement();
inStream = zFile.getInputStream(entry);
long counter = 0;
InstrumentDefinition def = null;
while(true) {
def = null;
try {
def = InstrumentDefinition.
parseDelimitedFrom(inStream);
} catch (final Exception e) {
break;
}
if(def!= null) {
if(def.hasSymbol()) {
map.put(def.getSymbol(), def);
}
if(counter % 100000 == 0) {
log.debug("Instrument DB build count " + counter);
}