/** * Creates a new instance of FileCodeMapper. You should probably not * construct a FileCodeMapper directly. Use CodeMapper.getInstance() * instead ... this will ensure that only a single instance is created, * which is important for performance because code maps are loaded from * disk every time this constructor is called. */ public FileCodeMapper() throws HL7Exception { baseDir = new File(Home.getHomeDirectory().getAbsolutePath() + "/codemap"); refreshCache(); }
/** * Creates a new instance of FileCodeMapper. You should probably not * construct a FileCodeMapper directly. Use CodeMapper.getInstance() * instead ... this will ensure that only a single instance is created, * which is important for performance because code maps are loaded from * disk every time this constructor is called. */ public FileCodeMapper() throws HL7Exception { baseDir = new File(Home.getHomeDirectory().getAbsolutePath() + "/codemap"); refreshCache(); }