java获取本机机器名

java获取本机机器名 

InetAddress.getLocalHost().getHostName().toString();

posted @ 2017-10-03 15:59  跨境电商杂货铺  阅读(712)  评论(0编辑  收藏  举报