cndavy

导航

 

2014年1月14日

摘要: java 在使用getresource获取中午目录时,出现乱码的处理String inputFileName = BufferedDataSetSample.class.getResource("data/iris_data_normalised.txt").getFile();try { inputFileName= java.net.URLDecoder.decode(inputFileName,"utf-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); //To 阅读全文
posted @ 2014-01-14 10:11 cndavy 阅读(659) 评论(0) 推荐(0) 编辑