public static void load() {
try {
URL load = new URL("http://www.site.net/loader.php?username=" + "username" + "&password=" + "password");
BufferedReader in = new BufferedReader(
new InputStreamReader(load.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null){
if(inputLine.length() > 0){
put = inputLine;
put.split(":");
System.out.print(put);
}
}
} catch (IOException e){
e.printStackTrace();
}
}
如您所见,我正在尝试拆分以下数据:
如何删除引号并将其存储在数组中,以便可以将其加载到 JList 中?
放 = 字符串放;