public class URLName extends Object
Constructor and Description |
---|
URLName(String url) |
URLName(String protocol,
String host,
int port,
String file,
String username,
String password) |
URLName(URL url) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getFile() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
String |
getRef() |
URL |
getURL() |
String |
getUsername() |
int |
hashCode() |
protected void |
parseString(String url) |
String |
toString() |
protected String fullURL
public URLName(String url)
public URLName(String protocol, String host, int port, String file, String username, String password)
public URLName(URL url)
protected void parseString(String url)
public String getFile()
public String getHost()
public String getPassword()
public int getPort()
public String getProtocol()
public String getRef()
public URL getURL() throws MalformedURLException
MalformedURLException
public String getUsername()
Copyright © 2013. All Rights Reserved.