### Question:
DnaIPLocator extends BaseIpLocator { @Override public void prepare() throws TPluginInitException { super.prepare(); try { locator = new Locator(); locator.load(dataFile.fetch()); this.dataFile.watch((d) -> { Locator newLocator = new Locator(); newLocator.load(d); _lock.lock(); this.locator = newLocator; _lock.unlock(); }); } catch (Exception e) { throw new TPluginInitException("geo data init failed", e); } }  @Override void prepare();  }### Answer:
@Test public void test() throws Exception { DnaIPLocator locator = new DnaIPLocator(); locator.dataFile = TResource.valueof("/Users/zhanglei/Work/Projects/ware/tauris4/tauris-plugins-filter/iploc/tmp/dna/geocache.bin"); locator.prepare(); System.out.println(locator.locate("115.239.211.112")); }