Java javax.mail URLName fields, constructors, methods, implement or subclass

Example usage for Java javax.mail URLName fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail URLName.

The text is from its open source code.

Constructor

URLName(URL url)
Construct a URLName from a java.net.URL object.
URLName(String url)
Construct a URLName from the string.
URLName(String protocol, String host, int port, String file, String username, String password)
Creates a URLName object from the specified protocol, host, port number, file, username, and password.

Method

StringgetFile()
Returns the file name of this URLName.
StringgetHost()
Returns the host of this URLName.
StringgetPassword()
Returns the password of this URLName.
intgetPort()
Returns the port number of this URLName.
StringgetProtocol()
Returns the protocol of this URLName.
StringgetRef()
Returns the reference of this URLName.
StringgetUsername()
Returns the user name of this URLName.
StringtoString()
Constructs a string representation of this URLName.