k-9/k9mail-library/src/main/java/com/fsck/k9/mail/transport/imap/ImapSettings.java

39 lines
833 B
Java
Raw Normal View History

package com.fsck.k9.mail.transport.imap;
import com.fsck.k9.mail.AuthType;
import com.fsck.k9.mail.ConnectionSecurity;
2014-12-18 03:33:09 -05:00
import com.fsck.k9.mail.store.imap.ImapStore;
/**
2014-12-17 11:16:18 -05:00
* Settings source for IMAP. Implemented in order to remove coupling between {@link ImapStore} and {@link com.fsck.k9.mail.store.ImapConnection}.
*/
public interface ImapSettings {
String getHost();
int getPort();
ConnectionSecurity getConnectionSecurity();
AuthType getAuthType();
String getUsername();
String getPassword();
2014-05-25 16:45:14 -04:00
String getClientCertificateAlias();
boolean useCompression(int type);
String getPathPrefix();
void setPathPrefix(String prefix);
String getPathDelimiter();
void setPathDelimiter(String delimiter);
String getCombinedPrefix();
void setCombinedPrefix(String prefix);
}