## Uses of Class
javax.mail.URLName

- Packages that use URLName
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### 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
    --- | ---
    `abstract Folder` | Store.`getFolder(URLName url)` Return a closed Folder object, corresponding to the given URLName.
    `Folder` | Session.`getFolder(URLName url)` Get a closed Folder object for 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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.