public final class RemoteLocation extends Object
| Constructor and Description |
|---|
RemoteLocation(String host,
int port)
Constructor for the Location object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHost() |
int |
getPort() |
int |
hashCode() |
static RemoteLocation |
parseServerAndPort(String server)
Parse remote server and port from the string representation server:port and store them in
a RemoteLocation object
|
String |
toString() |
public RemoteLocation(String host, int port)
host - port - public String getHost()
public int getPort()
public boolean equals(Object obj)
public String toString()
toString in class ObjectObject.toString()public static RemoteLocation parseServerAndPort(String server)
server - the input stringCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.