private void prepareList() { if (this.list == null) { String path = Config.getContextRealPath() + CrawlConfig.getWebGatherDir(); if ((!path.endsWith("/")) && (!path.endsWith("\\"))) { path = path + "/"; } path = path + this.config.getID() + "/"; File f = new File(path); if (!f.exists()) { f.mkdirs(); } this.list = new DocumentList(path); } }