當然,如果JAR文件在class path中,從其中讀取文件的方法比較簡單,你可以用下面的方法: URL url = ClassLoader.getSystemResource(name);. 或者為:
確定! 回上一頁