play framework读取文件
try { File file = new File(new File(new File(Play.applicationPath, "conf"), "init"), "aliww.txt"); whitleListSet.addAll(FileUtils.readLines(file)); } catch (IOException e2) { log.warn(e2.getMessage(), e2); }
try { File file = new File(new File(new File(Play.applicationPath, "conf"), "init"), "aliww.txt"); whitleListSet.addAll(FileUtils.readLines(file)); } catch (IOException e2) { log.warn(e2.getMessage(), e2); }