一、可以当作资源文件读取
InputStream iS = Test.class.getResourceAsStream("info.txt");
BufferedReader bR = new BufferedReader(new InputStreamReader(iS));
while((str = bR.readLine())!=null){
|
InputStream iS = Test.class.getResourceAsStream("info.txt");
BufferedReader bR = new BufferedReader(new InputStreamReader(iS));
while((str = bR.readLine())!=null){
|