Coverage Report - org.wiztools.xml2spreadsheet.util.StyleRepository
 
Classes in this File Line Coverage Branch Coverage Complexity
StyleRepository
100% 
N/A 
0
 
 1  
 /*
 2  
  * POIStyleRepository.java
 3  
  *
 4  
  * Created on November 14, 2006, 3:03 PM
 5  
  *
 6  
  * To change this template, choose Tools | Template Manager
 7  
  * and open the template in the editor.
 8  
  */
 9  
 
 10  
 package org.wiztools.xml2spreadsheet.util;
 11  
 
 12  
 import java.util.HashMap;
 13  
 
 14  
 /**
 15  
  *
 16  
  * @author subhash
 17  
  */
 18  
 public class StyleRepository {
 19  
     
 20  74
     private HashMap<String, Object> hm = new HashMap<String, Object>();
 21  
     
 22  
     public void put(final String hash, final Object style){
 23  306
         hm.put(hash, style);
 24  306
     }
 25  
     
 26  
     public Object get(String hash){
 27  106846
         return hm.get(hash);
 28  
     }
 29  
     
 30  
     /** Creates a new instance of POIStyleRepository */
 31  74
     public StyleRepository() {
 32  74
     }
 33  
     
 34  
 }