Modifier and Type | Method and Description |
---|---|
String |
getFile()
Get the file of the URL.
|
String |
getHost()
Get the host of the URL.
|
int |
getPort()
Get the port of the URL.
|
String |
getScheme()
Get the scheme of the URL.
|
void |
setFile(String file)
Set the file of the URL.
|
void |
setHost(String host)
Set the host of the URL.
|
void |
setPort(int port)
Set the port of the URL
|
void |
setScheme(String scheme)
Set the scheme of the URL
|
@InterfaceAudience.Public @InterfaceStability.Evolving String getScheme()
@InterfaceAudience.Public @InterfaceStability.Evolving void setScheme(String scheme)
scheme
- scheme of the URL@InterfaceAudience.Public @InterfaceStability.Evolving String getHost()
@InterfaceAudience.Public @InterfaceStability.Evolving void setHost(String host)
host
- host of the URL@InterfaceAudience.Public @InterfaceStability.Evolving int getPort()
@InterfaceAudience.Public @InterfaceStability.Evolving void setPort(int port)
port
- port of the URL@InterfaceAudience.Public @InterfaceStability.Evolving String getFile()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.