public class ServerAddressBuilder extends Object
Constructor and Description |
---|
ServerAddressBuilder(String serverAddress)
Instantiates a new server address builder from a string.
|
Modifier and Type | Method and Description |
---|---|
ServerAddress |
build()
Builds the server address.
|
String |
getHost()
Gets the host.
|
int |
getPort()
Gets the port.
|
Properties |
getProperties()
Gets the properties (parsed from the query string).
|
IServerAddress.Protocol |
getProtocol()
Gets the protocol.
|
String |
getQuery()
Gets the query.
|
String |
getRsh()
Gets the rsh command.
|
String |
getUri()
Gets the uri.
|
public ServerAddressBuilder(String serverAddress) throws URISyntaxException
serverAddress
- the server addressURISyntaxException
public ServerAddress build()
public IServerAddress.Protocol getProtocol()
public String getHost()
public int getPort()
public String getQuery()
public Properties getProperties()
public String getUri()
public String getRsh()
Copyright © 2017 Perforce Software. All Rights Reserved.