- public static class Base36 {
- public static String encode(long l) {
- StringBuffer ret = new StringBuffer();
- while (l > 0) {
- if ((l % 36) < 10) ret.append((char)(((int)'0') + (int)(l % 36)));
- else ret.append((char)(((int)'A') + (int)((l % 36) - 10)));
- l /= 36;
- }
- }
- }
-
- public Message(ReadStream rs) {
+ // FIXME: support dotTerminatedLikeSMTP
+ public Message(ReadStream rs, boolean dotTermiantedLikeSMTP) {