@InterfaceAudience.Private @InterfaceStability.Unstable public class URLPBImpl extends URL
| Constructor and Description |
|---|
URLPBImpl() |
URLPBImpl(YarnProtos.URLProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getFile()
Get the file of the URL.
|
String |
getHost()
Get the host of the URL.
|
int |
getPort()
Get the port of the URL.
|
YarnProtos.URLProto |
getProto() |
String |
getScheme()
Get the scheme of the URL.
|
String |
getUserInfo()
Get the user info of the URL.
|
int |
hashCode() |
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
|
void |
setUserInfo(String userInfo)
Set the user info of the URL.
|
String |
toString() |
newInstancepublic URLPBImpl()
public URLPBImpl(YarnProtos.URLProto proto)
public YarnProtos.URLProto getProto()
public void setFile(String file)
URLpublic void setScheme(String scheme)
URLpublic String getUserInfo()
URLgetUserInfo in class URLpublic void setUserInfo(String userInfo)
URLsetUserInfo in class URLuserInfo - user info of the URLpublic void setHost(String host)
URLpublic int getPort()
URLCopyright © 2013 Apache Software Foundation. All rights reserved.