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

38 lines
753 B
Java
Raw Normal View History

2014-12-19 21:03:06 -05:00
package com.fsck.k9.mail.store.imap;
import com.fsck.k9.mail.AuthType;
import com.fsck.k9.mail.ConnectionSecurity;
/**
2014-12-19 21:10:31 -05:00
* Settings source for IMAP. Implemented in order to remove coupling between {@link ImapStore} and {@link ImapConnection}.
*/
2014-12-19 21:03:06 -05:00
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);
}