bogus
[org.ibex.mail.git] / src / org / ibex / mail / MIME.java
index 76ea5b1..58d0621 100644 (file)
@@ -4,4 +4,20 @@ package org.ibex.mail;
 
 /** This class contains logic for encoding and decoding MIME multipart messages */
 public class MIME {
+    public static class QuotedPrintable {
+
+        public static String decode(String s, boolean lax) {
+        //
+        //   =XX  -> hex representation, must be uppercase
+        //   9, 32, 33-60, 62-126 can be literal
+        //   9, 32 at end-of-line must get encoded
+        //   trailing whitespace must be deleted when decoding
+        //   =\n = soft line break
+        //   lines cannot be more than 76 chars long
+        //
+
+            // lax is used for RFC2047 headers; removes restrictions on which chars you can encode
+            return s;
+        }
+    }
 }