javax.mail.internet.MimeUtility.class Maven / Gradle / Ivy
The newest version!
???? 0
????
?
?
????
????
?
??
????
???A
? ??
?? ?????
??
?? ?? ???
?
??
??
?
???
)?
??
)? ?
???
/??
1?????
6?
<?
<
<
;?
B
D
F
F
?
N
N
N
?
<
<
<
?
?
<!
"
#
$
%
&'()
?
?*
+
o,
q-
?./
m?0
o 1
q2
34
3?
m5 6789
W?
?:;
?<=
?>?@
A?
?BC
??D
?E
?FGH
?I
?J
KL
<M N
O
PQ R
?? S TU
VWXYZ
V[\]
??
??
?^ _
`
?ab
?cde
Nf
??g
h
ijk
??l
mnopqrs
?M tu
vw
?xy
??
z
?{|}~??????????????????????????????????????????????????????????????? NullInputStream InnerClasses ALL I
ConstantValue???? nonAsciiCharsetMap Ljava/util/Map; decodeStrict Z encodeEolStrict ignoreUnknownEncoding foldEncodedWords foldText defaultJavaCharset Ljava/lang/String; defaultMIMECharset mime2java Ljava/util/Hashtable; java2mime ALL_ASCII MOSTLY_ASCII MOSTLY_NONASCII %class$javax$mail$internet$MimeUtility Ljava/lang/Class; Synthetic ()V Code LineNumberTable LocalVariableTable this !Ljavax/mail/internet/MimeUtility; getEncoding 1(Ljavax/activation/DataSource;)Ljava/lang/String; isText i ex Ljava/lang/Exception; ioex Ljava/io/IOException; ds Ljavax/activation/DataSource; cType !Ljavax/mail/internet/ContentType; is Ljava/io/InputStream; encoding nonAsciiCharset $(Ljavax/mail/internet/ContentType;)Z b [B uex &Ljava/io/UnsupportedEncodingException; Ljava/lang/RuntimeException; ct charset bool Ljava/lang/Boolean; 2(Ljavax/activation/DataHandler;)Ljava/lang/String; aos 'Ljavax/mail/internet/AsciiOutputStream; dh Ljavax/activation/DataHandler; decode >(Ljava/io/InputStream;Ljava/lang/String;)Ljava/io/InputStream;
Exceptions encode @(Ljava/io/OutputStream;Ljava/lang/String;)Ljava/io/OutputStream; os Ljava/io/OutputStream; R(Ljava/io/OutputStream;Ljava/lang/String;Ljava/lang/String;)Ljava/io/OutputStream; filename
encodeText &(Ljava/lang/String;)Ljava/lang/String; text J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
decodeText dword pex $Ljavax/mail/internet/ParseException; word c C s etext lwsp st Ljava/util/StringTokenizer; sb Ljava/lang/StringBuffer; wsb prevWasEncoded
encodeWord K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; jcharset b64 string encodingWord ascii outb doEncode U(Ljava/lang/String;ZLjava/lang/String;ILjava/lang/String;ZZLjava/lang/StringBuffer;)V len size eos Ljava/io/ByteArrayOutputStream; encodedBytes avail prefix first buf bytes
decodeWord bis Ljava/io/ByteArrayInputStream; count decodedWord rest iex $Ljava/lang/IllegalArgumentException; eword start pos lpos decodeInnerWords end quote 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; cc j lastc specials needQuoting fold '(ILjava/lang/String;)Ljava/lang/String; lastspace used unfold l
indexOfAny '(Ljava/lang/String;Ljava/lang/String;)I any ((Ljava/lang/String;Ljava/lang/String;I)I e +Ljava/lang/StringIndexOutOfBoundsException; javaCharset alias mimeCharset getDefaultJavaCharset ()Ljava/lang/String; Ljava/lang/SecurityException; reader Ljava/io/InputStreamReader; sex mimecs getDefaultMIMECharset loadMappings ;(Lcom/sun/mail/util/LineInputStream;Ljava/util/Hashtable;)V key value nex "Ljava/util/NoSuchElementException; tk currLine #Lcom/sun/mail/util/LineInputStream; table
checkAscii (Ljava/lang/String;)I non_ascii ([B)I (Ljava/io/InputStream;IZ)I lastb max breakOnNonAscii block linelen longLine badEOL checkEOL nonascii (I)Z class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 "Ljava/lang/ClassNotFoundException; x0 cex
SourceFile MimeUtility.java??? java/lang/ClassNotFoundException java/lang/NoClassDefFoundError#$?? javax/mail/internet/ContentType???#??? text/*???? 7bit9: base64 quoted-printable java/lang/Exception??$ java/io/IOException?S?????
??? java/lang/Boolean
???? $java/io/UnsupportedEncodingException?C java/lang/RuntimeException?C?????????*+ %javax/mail/internet/AsciiOutputStream#??????? %com/sun/mail/util/BASE64DecoderStream#? !com/sun/mail/util/QPDecoderStream uuencode
x-uuencode x-uue !com/sun/mail/util/UUDecoderStream binary 8bit javax/mail/MessagingException java/lang/StringBuffer Unknown encoding: ???? %com/sun/mail/util/BASE64EncoderStream#? !com/sun/mail/util/QPEncoderStream !com/sun/mail/util/UUEncoderStream#?RUfg
=??? java/util/StringTokenizer#?????????zS???? "javax/mail/internet/ParseException?S?? ?=????fU???????S Q B Unknown transfer encoding: ?no?????? java/io/ByteArrayOutputStream com/sun/mail/util/BEncoderStream com/sun/mail/util/QEncoderStream#?
'encoded word does not start with "=?": ? 'encoded word does not include charset: ? (encoded word does not include encoding: ? %encoded word does not end with "?=": java/io/ByteArrayInputStream# com/sun/mail/util/QDecoderStream unknown encoding: ?
java/lang/String#?
"java/lang/IllegalArgumentException ""#????? )java/lang/StringIndexOutOfBoundsException mail.mime.charsetS java/lang/SecurityException
file.encoding 8859_1? java/io/InputStreamReader 0javax/mail/internet/MimeUtility$1NullInputStream*??S? --? # # java/util/NoSuchElementException?? java/util/HashMap mail.mime.decodetext.strict mail.mime.encodeeol.strict mail.mime.ignoreunknownencoding mail.mime.foldencodedwords mail.mime.foldtext java/util/Hashtable ! javax.mail.internet.MimeUtility?? /META-INF/javamail.charset.map !com/sun/mail/util/LineInputStream???
ISO-8859-1 iso8859_1 iso8859-1 8859_2
ISO-8859-2 iso8859_2 iso8859-2 8859_3
ISO-8859-3 iso8859_3 iso8859-3 8859_4
ISO-8859-4 iso8859_4 iso8859-4 8859_5
ISO-8859-5 iso8859_5 iso8859-5 8859_6
ISO-8859-6 iso8859_6 iso8859-6 8859_7
ISO-8859-7 iso8859_7 iso8859-7 8859_8
ISO-8859-8 iso8859_8 iso8859-8 8859_9
ISO-8859-9 iso8859_9 iso8859-9 sjis Shift_JIS jis ISO-2022-JP iso2022jp euc_jp euc-jp koi8_r koi8-r euc_cn euc-cn euc_tw euc-tw euc_kr euc-kr iso-2022-cn ISO2022CN iso-2022-kr ISO2022KR utf-8 UTF8 utf8 ja_jp.iso2022-7 ISO2022JP ja_jp.eucjp EUCJIS KSC5601 euckr us-ascii
x-us-ascii javax/mail/internet/MimeUtility java/lang/Object java/lang/Class forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; javax/activation/DataSource getContentType (Ljava/lang/String;)V getInputStream ()Ljava/io/InputStream; match (Ljava/lang/String;)Z java/io/InputStream close getParameter java/util/Locale ENGLISH Ljava/util/Locale; toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; getBytes (Ljava/lang/String;)[B valueOf (Z)Ljava/lang/Boolean; FALSE TRUE put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; booleanValue ()Z javax/activation/DataHandler getName
getDataSource ()Ljavax/activation/DataSource; (ZZ)V writeTo (Ljava/io/OutputStream;)V getAscii ()I equalsIgnoreCase (Ljava/io/InputStream;)V append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString +(Ljava/io/OutputStream;Ljava/lang/String;)V indexOf ((Ljava/lang/String;Ljava/lang/String;Z)V
hasMoreTokens nextToken charAt (I)C (C)Ljava/lang/StringBuffer; length 2(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
startsWith endsWith setLength (I)V
encodedLength ([BZ)I substring (II)Ljava/lang/String; (Ljava/io/OutputStream;Z)V java/io/OutputStream write ([B)V toByteArray ()[B (II)I (I)I (Ljava/lang/String;I)I com/sun/mail/util/ASCIIUtility available read ([BII)I ([BIILjava/lang/String;)V (I)Ljava/lang/String; java/lang/System getProperty readLine trim '(Ljava/lang/String;Ljava/lang/String;)V java/lang/Math min com/sun/mail/util/PropUtil getBooleanSystemProperty (Ljava/lang/String;Z)Z getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; isEmpty !
! " #$ % / *? ? &