File file = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath());
return file.isFile();
File file = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath());
return file.isFile();
转载于:https://my.oschina.net/jingshishengxu/blog/1923704