public class HostInfo extends Object implements Serializable
| Constructor and Description | 
|---|
HostInfo()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAddress()
取得当前主机的地址。 
 | 
String | 
getName()
取得当前主机的名称。 
 | 
String | 
toString()
将当前主机的信息转换成字符串。 
 | 
Copyright © 2025. All rights reserved.