摘要: 需要ganymed-ssh2-build210.jar 1 连接 Connection conn = new Connection(ip地址, 端口号); conn.connect(); 2认证并判断 boolean isAuthenticated = conn.authenticateWithPa 阅读全文
posted @ 2017-10-24 15:55 七千米蔚蓝 阅读(5221) 评论(0) 推荐(0) 编辑
摘要: 分别继承于InputStreamReader OutputStreamWriter 所以: FileReader:new FileReader(“d:/back/string.txt”) = new InputStreamReader(new FileInputStream(“d:/back/str 阅读全文
posted @ 2017-10-24 11:41 七千米蔚蓝 阅读(311) 评论(0) 推荐(0) 编辑