mailpuccino
Interface Folder
- All Superinterfaces:
- ComponentType
- All Known Implementing Classes:
- IMAPFolder, LocalFolder
- public interface Folder
- extends ComponentType
getDescription
public java.lang.String getDescription()
moveToTrash
public boolean moveToTrash()
init
public void init(Preferences Config)
getFolderName
public java.lang.String getFolderName()
addFolderListener
public void addFolderListener(FolderListener Target)
removeFolderListener
public void removeFolderListener(FolderListener Target)
setCommStatusListener
public void setCommStatusListener(CommStatusListener Target)
getInterface
public InterfaceJPanel getInterface()
getIcon
public javax.swing.Icon getIcon()
open
public void open()
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
close
public void close()
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getAllEmails
public java.util.Enumeration getAllEmails()
getEmailCount
public int getEmailCount()
insertEmail
public EmailID insertEmail(EmailID TargetID)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
deleteEmail
public void deleteEmail(EmailID TargetID)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getRawMessage
public java.lang.String getRawMessage(EmailID TargetID)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getHeader
public java.lang.String getHeader(EmailID TargetID,
java.lang.String HeaderName)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getAllHeaders
public java.lang.String getAllHeaders(EmailID TargetID)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getStatus
public int getStatus(EmailID TargetID,
java.lang.String Type)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
setStatus
public void setStatus(EmailID TargetID,
java.lang.String Type,
int Value)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getPart
public java.lang.Object getPart(EmailID TargetID,
PartStruct Part)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException
getPartStruct
public PartStruct getPartStruct(EmailID TargetID)
throws java.io.IOException,
FolderException
- Throws:
java.io.IOException
FolderException