protected static class HostFileNameParser.Authority extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
Authority() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getHostName() |
Get the host name.
|
java.lang.String |
getPassword() |
Get the user password.
|
int |
getPort() |
Get the port.
|
java.lang.String |
getScheme() |
Get the connection schema.
|
java.lang.String |
getUserName() |
Get the user name.
|
void |
setHostName(java.lang.String hostName) |
Set the host name.
|
void |
setPassword(java.lang.String password) |
Set the user password.
|
void |
setPort(int port) |
Set the connection port.
|
void |
setScheme(java.lang.String scheme) |
Set the connection schema.
|
void |
setUserName(java.lang.String userName) |
Set the user name.
|
protected Authority()
public java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
scheme
- the connection scheme.public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
hostName
- the host name.public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName
- the user name.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the user password.public int getPort()
public void setPort(int port)
port
- the port number or -1.