bogus
[org.ibex.mail.git] / src / org / ibex / mail / MIME.java
1 package org.ibex.mail;
2
3 // FEATURE: MIME RFC2045, 2046, 2049
4
5 /** This class contains logic for encoding and decoding MIME multipart messages */
6 public class MIME {
7     public static class QuotedPrintable {
8
9         public static String decode(String s, boolean lax) {
10         //
11         //   =XX  -> hex representation, must be uppercase
12         //   9, 32, 33-60, 62-126 can be literal
13         //   9, 32 at end-of-line must get encoded
14         //   trailing whitespace must be deleted when decoding
15         //   =\n = soft line break
16         //   lines cannot be more than 76 chars long
17         //
18
19             // lax is used for RFC2047 headers; removes restrictions on which chars you can encode
20             return s;
21         }
22     }
23 }