## Uses of Class
javax.mail.URLName

- Packages that use URLName
  Package | Description
  --- | ---
  com.sun.mail.gimap | An EXPERIMENTAL IMAP protocol provider that supports the Gmail-specific IMAP protocol extensions .
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  com.sun.mail.pop3 | A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store.
  com.sun.mail.smtp | An SMTP protocol provider for the JavaMail API that provides access to an SMTP server.
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### Uses of URLName in com.sun.mail.gimap

    Constructors in com.sun.mail.gimap with parameters of type URLName
    Constructor and Description
    `GmailSSLStore(Session session, URLName url)` Constructor that takes a Session object and a URLName that represents a specific IMAP server.
    `GmailStore(Session session, URLName url)` Constructor that takes a Session object and a URLName that represents a specific IMAP server.
    `GmailStore(Session session, URLName url, String name, boolean isSSL)` Constructor used by GmailSSLStore subclass.

  - ### Uses of URLName in com.sun.mail.imap

    Methods in com.sun.mail.imap with parameters of type URLName
    Modifier and Type | Method and Description
    --- | ---
    `Folder` | IMAPStore.`getFolder(URLName url)` Get named folder.

    Constructors in com.sun.mail.imap with parameters of type URLName
    Constructor and Description
    `IMAPSSLStore(Session session, URLName url)` Constructor that takes a Session object and a URLName that represents a specific IMAP server.
    `IMAPStore(Session session, URLName url)` Constructor that takes a Session object and a URLName that represents a specific IMAP server.
    `IMAPStore(Session session, URLName url, String name, boolean isSSL)` Constructor used by this class and by IMAPSSLStore subclass.

  - ### Uses of URLName in com.sun.mail.pop3

    Methods in com.sun.mail.pop3 with parameters of type URLName
    Modifier and Type | Method and Description
    --- | ---
    `Folder` | POP3Store.`getFolder(URLName url)`

    Constructors in com.sun.mail.pop3 with parameters of type URLName
    Constructor and Description
    `POP3SSLStore(Session session, URLName url)`
    `POP3Store(Session session, URLName url)`
    `POP3Store(Session session, URLName url, String name, boolean isSSL)`

  - ### Uses of URLName in com.sun.mail.smtp

    Constructors in com.sun.mail.smtp with parameters of type URLName
    Constructor and Description
    `SMTPSSLTransport(Session session, URLName urlname)` Constructor.
    `SMTPTransport(Session session, URLName urlname)` Constructor that takes a Session object and a URLName that represents a specific SMTP server.
    `SMTPTransport(Session session, URLName urlname, String name, boolean isSSL)` Constructor used by this class and by SMTPSSLTransport subclass.

  - ### Uses of URLName in javax.mail

    Fields in javax.mail declared as URLName
    Modifier and Type | Field and Description
    --- | ---
    `protected URLName` | Service.`url` The `URLName` of this service.

    Methods in javax.mail that return URLName
    Modifier and Type | Method and Description
    --- | ---
    `URLName` | Service.`getURLName()` Return a URLName representing this service.
    `URLName` | Folder.`getURLName()` Return a URLName representing this folder.

    Methods in javax.mail with parameters of type URLName
    Modifier and Type | Method and Description
    --- | ---
    `Folder` | Session.`getFolder(URLName url)` Get a closed Folder object for the given URLName.
    `abstract Folder` | Store.`getFolder(URLName url)` Return a closed Folder object, corresponding to the given URLName.
    `PasswordAuthentication` | Session.`getPasswordAuthentication(URLName url)` Return any saved PasswordAuthentication for this (store or transport) URLName.
    `Store` | Session.`getStore(URLName url)` Get a Store object for the given URLName.
    `Transport` | Session.`getTransport(URLName url)` Get a Transport object for the given URLName.
    `void` | Session.`setPasswordAuthentication(URLName url, PasswordAuthentication pw)` Save a PasswordAuthentication for this (store or transport) URLName.
    `protected void` | Service.`setURLName(URLName url)` Set the URLName representing this service.

    Constructors in javax.mail with parameters of type URLName
    Constructor and Description
    `Service(Session session, URLName urlname)` Constructor.
    `Store(Session session, URLName urlname)` Constructor.
    `Transport(Session session, URLName urlname)` Constructor.

Copyright © 2016 Oracle. All rights reserved.