2011年11月10日

[转]InputStream的三个read的区别

摘要: 本文转自:http://www.blogjava.net/toby/archive/2009/04/24/267413.html1.read这个方法是对这个流一个一个字节的读,返回的int就是这个字节的int表示方式以下是代码片段,经过测试当eclipse的编码为gbk时,转化出的字符串不需经过重新编码,如果eclipse的编码为utf-8时则由byte转成字符串需重新编成utf-8的InputStream in = Test.class.getResourceAsStream("/tt.txt"); byte[]tt=new byte[15];//测试用的事前知道有15个 阅读全文

posted @ 2011-11-10 22:50 freeliver54 阅读(515) 评论(0) 推荐(0)

开源FTP工具 FileZilla

摘要: http://filezilla-project.org/Welcome to the homepage of FileZilla, the free FTP solution.Both a client and a server are available.FileZilla is open source software distributed free of charge under the terms of the GNU General Public License 阅读全文

posted @ 2011-11-10 10:07 freeliver54 阅读(459) 评论(0) 推荐(0)

导航