文件名称:ReadTxt
介绍说明--下载内容均来自于网络,请自行研究使用
public static void main(String[] args) {
//File file = new File("d:\\shaolang.txt");
//ReadTxt(file);
File file = new File("d:\\ip端口数据.txt");
List list_Content = new ArrayList();
list_Content = ReadTxt(file);
int Contentleng = list_Content.size();
String Content = (String) list_Content.get(randInt(0, Contentleng));
System.out.println("hhh:"+Content);
}(public static void main(String[] args) {
//File file = new File("d:\\shaolang.txt");
//ReadTxt(file);
File file = new File("d:\\XX.txt");
List list_Content = new ArrayList();
list_Content = ReadTxt(file);
int Contentleng = list_Content.size();
String Content = (String) list_Content.get(randInt(0, Contentleng));
System.out.println("hhh:"+Content);
})
//File file = new File("d:\\shaolang.txt");
//ReadTxt(file);
File file = new File("d:\\ip端口数据.txt");
List list_Content = new ArrayList();
list_Content = ReadTxt(file);
int Contentleng = list_Content.size();
String Content = (String) list_Content.get(randInt(0, Contentleng));
System.out.println("hhh:"+Content);
}(public static void main(String[] args) {
//File file = new File("d:\\shaolang.txt");
//ReadTxt(file);
File file = new File("d:\\XX.txt");
List list_Content = new ArrayList();
list_Content = ReadTxt(file);
int Contentleng = list_Content.size();
String Content = (String) list_Content.get(randInt(0, Contentleng));
System.out.println("hhh:"+Content);
})
相关搜索: ReadTxt文件
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
ReadTxt.java | 3385 | 2018-04-04 |