# Hierarchy For All Packages

Package Hierarchies:

- com.sun.mail.dsn,
- com.sun.mail.gimap,
- com.sun.mail.imap,
- com.sun.mail.pop3,
- com.sun.mail.smtp,
- com.sun.mail.util,
- com.sun.mail.util.logging,
- javax.mail,
- javax.mail.event,
- javax.mail.internet,
- javax.mail.search,
- javax.mail.util

## Class Hierarchy

- java.lang.Object
  - com.sun.mail.imap.ACL (implements java.lang.Cloneable)
  - javax.mail.Address (implements java.io.Serializable)
    - javax.mail.internet.InternetAddress (implements java.lang.Cloneable)
    - javax.mail.internet.NewsAddress
  - javax.mail.Authenticator
  - javax.mail.BodyPart (implements javax.mail.Part)
    - javax.mail.internet.MimeBodyPart (implements javax.mail.internet.MimePart)
      - javax.mail.internet.PreencodedMimeBodyPart
  - javax.mail.util.ByteArrayDataSource (implements javax.activation.DataSource)
  - javax.mail.event.ConnectionAdapter (implements javax.mail.event.ConnectionListener)
  - javax.mail.internet.ContentDisposition
  - javax.mail.internet.ContentType
  - java.util.EventObject (implements java.io.Serializable)
    - javax.mail.event.MailEvent
      - javax.mail.event.ConnectionEvent
      - javax.mail.event.FolderEvent
      - javax.mail.event.MessageChangedEvent
      - javax.mail.event.MessageCountEvent
      - javax.mail.event.StoreEvent
      - javax.mail.event.TransportEvent
  - javax.mail.FetchProfile
  - javax.mail.FetchProfile.Item
    - com.sun.mail.gimap.GmailFolder.FetchProfileItem
    - com.sun.mail.imap.IMAPFolder.FetchProfileItem
    - javax.mail.UIDFolder.FetchProfileItem
  - javax.mail.Flags (implements java.lang.Cloneable, java.io.Serializable)
  - javax.mail.Flags.Flag
  - javax.mail.Folder
    - com.sun.mail.imap.IMAPFolder (implements com.sun.mail.iap.ResponseHandler, javax.mail.UIDFolder)
      - com.sun.mail.gimap.GmailFolder
    - com.sun.mail.pop3.POP3Folder
  - javax.mail.event.FolderAdapter (implements javax.mail.event.FolderListener)
  - java.text.Format (implements java.lang.Cloneable, java.io.Serializable)
    - java.text.DateFormat
      - java.text.SimpleDateFormat
        - javax.mail.internet.MailDateFormat
  - java.util.logging.Handler
    - com.sun.mail.util.logging.MailHandler
  - javax.mail.Header
    - javax.mail.internet.InternetHeaders.InternetHeader
  - javax.mail.internet.HeaderTokenizer
  - javax.mail.internet.HeaderTokenizer.Token
  - com.sun.mail.imap.IMAPMessage.FetchProfileCondition (implements com.sun.mail.imap.Utility.Condition)
  - java.io.InputStream (implements java.io.Closeable)
    - java.io.ByteArrayInputStream
      - javax.mail.util.SharedByteArrayInputStream (implements javax.mail.internet.SharedInputStream)
    - java.io.FilterInputStream
      - java.io.BufferedInputStream
        - javax.mail.util.SharedFileInputStream (implements javax.mail.internet.SharedInputStream)
  - javax.mail.internet.InternetHeaders
  - javax.mail.Message (implements javax.mail.Part)
    - javax.mail.internet.MimeMessage (implements javax.mail.internet.MimePart)
      - com.sun.mail.imap.IMAPMessage (implements com.sun.mail.util.ReadableMime)
        - com.sun.mail.gimap.GmailMessage
      - com.sun.mail.dsn.MessageHeaders
      - com.sun.mail.pop3.POP3Message (implements com.sun.mail.util.ReadableMime)
      - com.sun.mail.smtp.SMTPMessage
  - javax.mail.Message.RecipientType (implements java.io.Serializable)
    - javax.mail.internet.MimeMessage.RecipientType
  - javax.mail.MessageContext
  - javax.mail.event.MessageCountAdapter (implements javax.mail.event.MessageCountListener)
  - javax.mail.internet.MimePartDataSource (implements javax.activation.DataSource, javax.mail.MessageAware)
  - javax.mail.internet.MimeUtility
  - javax.mail.Multipart
    - javax.mail.internet.MimeMultipart
      - com.sun.mail.dsn.MultipartReport
  - javax.mail.internet.ParameterList
  - javax.mail.PasswordAuthentication
  - javax.mail.Provider
  - javax.mail.Provider.Type
  - javax.mail.Quota
  - javax.mail.Quota.Resource
  - com.sun.mail.dsn.Report
    - com.sun.mail.dsn.DeliveryStatus
    - com.sun.mail.dsn.DispositionNotification
  - com.sun.mail.imap.Rights (implements java.lang.Cloneable)
  - com.sun.mail.imap.Rights.Right
  - javax.mail.search.SearchTerm (implements java.io.Serializable)
    - javax.mail.search.AddressTerm
      - javax.mail.search.FromTerm
      - javax.mail.search.RecipientTerm
    - javax.mail.search.AndTerm
    - javax.mail.search.ComparisonTerm
      - javax.mail.search.DateTerm
        - javax.mail.search.ReceivedDateTerm
        - javax.mail.search.SentDateTerm
      - javax.mail.search.IntegerComparisonTerm
        - javax.mail.search.MessageNumberTerm
        - javax.mail.search.SizeTerm
    - javax.mail.search.FlagTerm
    - com.sun.mail.gimap.GmailMsgIdTerm
    - com.sun.mail.gimap.GmailThrIdTerm
    - javax.mail.search.NotTerm
    - javax.mail.search.OrTerm
    - javax.mail.search.StringTerm
      - javax.mail.search.AddressStringTerm
        - javax.mail.search.FromStringTerm
        - javax.mail.search.RecipientStringTerm
      - javax.mail.search.BodyTerm
      - com.sun.mail.gimap.GmailRawSearchTerm
      - javax.mail.search.HeaderTerm
      - javax.mail.search.MessageIDTerm
      - javax.mail.search.SubjectTerm
  - javax.mail.Service
    - javax.mail.Store
      - com.sun.mail.imap.IMAPStore (implements javax.mail.QuotaAwareStore, com.sun.mail.iap.ResponseHandler)
        - com.sun.mail.gimap.GmailStore
          - com.sun.mail.gimap.GmailSSLStore
        - com.sun.mail.imap.IMAPSSLStore
      - com.sun.mail.pop3.POP3Store
        - com.sun.mail.pop3.POP3SSLStore
    - javax.mail.Transport
      - com.sun.mail.smtp.SMTPTransport
        - com.sun.mail.smtp.SMTPSSLTransport
  - javax.mail.Session
  - javax.net.SocketFactory
    - javax.net.ssl.SSLSocketFactory
      - com.sun.mail.util.MailSSLSocketFactory
  - com.sun.mail.imap.SortTerm
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - javax.mail.MessagingException
        - javax.mail.AuthenticationFailedException
        - javax.mail.FolderClosedException
        - javax.mail.FolderNotFoundException
        - javax.mail.IllegalWriteException
        - javax.mail.MessageRemovedException
        - javax.mail.MethodNotSupportedException
        - javax.mail.NoSuchProviderException
        - javax.mail.internet.ParseException
          - javax.mail.internet.AddressException
        - javax.mail.ReadOnlyFolderException
        - javax.mail.search.SearchException
        - javax.mail.SendFailedException
          - com.sun.mail.smtp.SMTPAddressFailedException
          - com.sun.mail.smtp.SMTPSenderFailedException
          - com.sun.mail.smtp.SMTPSendFailedException
        - com.sun.mail.smtp.SMTPAddressSucceededException
        - javax.mail.StoreClosedException
  - javax.mail.event.TransportAdapter (implements javax.mail.event.TransportListener)
  - javax.mail.URLName

## Interface Hierarchy

- javax.activation.DataSource
  - javax.mail.MultipartDataSource
- java.util.EventListener
  - javax.mail.event.ConnectionListener
  - javax.mail.event.FolderListener
  - javax.mail.event.MessageChangedListener
  - javax.mail.event.MessageCountListener
  - javax.mail.event.StoreListener
  - javax.mail.event.TransportListener
- com.sun.mail.imap.IMAPFolder.ProtocolCommand
- javax.mail.MessageAware
- javax.mail.Part
  - javax.mail.internet.MimePart
- javax.mail.QuotaAwareStore
- com.sun.mail.util.ReadableMime
- javax.mail.internet.SharedInputStream
- javax.mail.UIDFolder

Copyright © 2013 Oracle. All Rights Reserved.