【发布时间】:2017-04-04 18:01:16
【问题描述】:
我尝试了什么
try {
File fileDir = new File("B:\\Palringo\\palringo.exe");
BufferedReader in = new BufferedReader(
new InputStreamReader(
new FileInputStream("B:\\Palringo\\palringo.exe"), "UTF8"));
String str;
while ((str = in.readLine()) != null) {
System.out.println(str);
}
in.close();
}
catch (UnsupportedEncodingException e)
{
System.out.println(e.getMessage());
}
输出:
unreadable Strings
我想要什么
我想控制 (palringo.exe) 以便我可以为它制作 Bot
什么是palringo.exe?:
它是一个聊天程序,您可以下载它或使用网页版 (palringo.im)。
我打开一个 exe 文件做错了吗?我应该通过 Java 中的 Connection 类连接到网站吗?如果是这样,我怎么能连接它?
【问题讨论】:
-
这不是我要求的,但感谢您的帮助