Java-Traceroute的API支持? [英] Java - API support for traceroute?
本文介绍了Java-Traceroute的API支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论如何,我都能在java中获得traceroute的输出.我知道我可以使用exec,但是我想知道是否有任何API可以为我获取输出,而不必担心平台.
Is there anyway I can get the output of traceroute in java. I know I could use exec but I want to know if there is any API can fetch the output for me not worrying about platform.
推荐答案
可以尝试使用以下API:
Can you try using the following API :
http://jakewharton.github. io/pingdom-java/apidocs/com/jakewharton/pingdom/entities/TraceRoute.html
GitHub链接:
https://github.com/JakeWharton/
这篇关于Java-Traceroute的API支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文