javax.mail
Class URLName

java.lang.Object
  extended by javax.mail.URLName

public class URLName
extends Object

Version:
$Rev: 593290 $ $Date: 2007-11-08 15:18:29 -0500 (Thu, 08 Nov 2007) $

Field Summary
protected  String fullURL
           
 
Constructor Summary
URLName(String url)
           
URLName(String protocol, String host, int port, String file, String username, String password)
           
URLName(URL url)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fullURL

protected String fullURL
Constructor Detail

URLName

public URLName(String url)

URLName

public URLName(String protocol,
               String host,
               int port,
               String file,
               String username,
               String password)

URLName

public URLName(URL url)
Method Detail

parseString

protected void parseString(String url)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getFile

public String getFile()

getHost

public String getHost()

getPassword

public String getPassword()

getPort

public int getPort()

getProtocol

public String getProtocol()

getRef

public String getRef()

getURL

public URL getURL()
           throws MalformedURLException
Throws:
MalformedURLException

getUsername

public String getUsername()


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.