protected abstract void doProcess(final M message, ImapSession session, String tag, ImapCommand command, Responder responder);
public MailboxPath buildFullPath(final ImapSession session, String mailboxName) {
String namespace = null;
String name = null;
final MailboxSession mailboxSession = ImapSessionUtils.getMailboxSession(session);
if (mailboxName == null || mailboxName.length() == 0) {
return new MailboxPath("", "", "");
}
if (mailboxName.charAt(0) == MailboxConstants.NAMESPACE_PREFIX_CHAR) {
int namespaceLength = mailboxName.indexOf(mailboxSession.getPathDelimiter());
if (namespaceLength > -1) {
namespace = mailboxName.substring(0, namespaceLength);
if (mailboxName.length() > namespaceLength)
name = mailboxName.substring(++namespaceLength);
} else {