private void populateMap ( byte [ ] data , Integer previousItemOffset , Integer previousItemKey , Integer itemOffset ) { if ( previousItemOffset != null ) { int itemSize = itemOffset . intValue ( ) - previousItemOffset . intValue ( ) ; byte [ ] itemData = new byte [ itemSize ] ; System . arraycopy ( data , previousItemOffset . intValue ( ) , itemData , 0 , itemSize ) ; m_map . put ( previousItemKey , itemData ) ; } }
Method used to extract data from the block of properties and insert the key value pair into a map .