Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.resource.adapter.mail.inflow
Class MailFolder

    java.lang.Object
      org.jboss.resource.adapter.mail.inflow.MailFolder

public class MailFolder
extends Object

An encapsulation of a mail store folder used by the MailActivation.run to poll and retrieve new messages.

Version:
  $Revision: 1.1 $
Author:
  Scott.Stark@jboss.org

Constructor Summary
`MailFolder(MailActivationSpec spec)`

Method Summary
`void` | `close()`
`javax.mail.Message[]` | `getNewMessages()`
`void` | `open()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MailFolder

    public MailFolder(MailActivationSpec spec)
               throws Exception

Method Detail

### open

    public void open()
              throws Exception

  Throws:
    `Exception`

### getNewMessages

    public javax.mail.Message[] getNewMessages()
                                        throws Exception

  Throws:
    `Exception`

### close

    public void close()
               throws javax.mail.MessagingException

  Throws:
    `javax.mail.MessagingException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.