public class MapPopulator<K,V> extends Object
| Constructor and Description |
|---|
MapPopulator(com.metamx.common.parsers.Parser<K,V> parser) |
public long populate(com.google.common.io.ByteSource source,
Map<K,V> map)
throws IOException
source - The ByteSource to read lines frommap - The map to populateIOExceptionCopyright © 2011–2015. All rights reserved.