META-INF.modules.java.desktop.classes.sun.awt.datatransfer.DataTransferer$ReencodingInputStream.class Maven / Gradle / Ivy
???? : ? 9sun/awt/datatransfer/DataTransferer$ReencodingInputStream this$0 %Lsun/awt/datatransfer/DataTransferer;
java/io/InputStream ()V in [C
java/lang/Long valueOf (J)Ljava/lang/Long;
#sun/awt/datatransfer/DataTransferer getBestCharsetForTextFormat H(Ljava/lang/Long;Ljava/awt/datatransfer/Transferable;)Ljava/lang/String; java/io/BufferedReader java/io/InputStreamReader
" # *(Ljava/io/InputStream;Ljava/lang/String;)V
% & (Ljava/io/Reader;)V ( ) * wrapped Ljava/io/BufferedReader; , java/lang/NullPointerException . null target encoding
+ 0 1 (Ljava/lang/String;)V
3 4 5 6 7 java/nio/charset/Charset forName .(Ljava/lang/String;)Ljava/nio/charset/Charset;
3 9 : ;
newEncoder #()Ljava/nio/charset/CharsetEncoder; = > ? encoder !Ljava/nio/charset/CharsetEncoder;
A B C D E java/nio/charset/CharsetEncoder maxBytesPerChar ()F?? I J K out [B
M N O P Q java/nio/CharBuffer wrap ([C)Ljava/nio/CharBuffer; S T U inBuf Ljava/nio/CharBuffer;
W X Y P Z java/nio/ByteBuffer ([B)Ljava/nio/ByteBuffer; \ ] ^ outBuf Ljava/nio/ByteBuffer; ` ,java/nio/charset/IllegalCharsetNameException b ,java/nio/charset/UnsupportedCharsetException d 'java/lang/UnsupportedOperationException f java/io/IOException
h i j k l java/lang/RuntimeException toString ()Ljava/lang/String;
e 0 o p q nativeEOLNs Ljava/util/Map; s t u v w
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; y java/lang/String
x { | } toCharArray ()[C ? eoln ? ? q nativeTerminators ? java/lang/Integer
? ? ? ? intValue ()I ? ? ? numTerminators I
? ? ? read ? ? ? eos Z
? ? ? matchCharArray ([CI)Z ? ? ? index ? ? ? limit
? ? ? readChar
M ? ? ? (I)Ljava/nio/CharBuffer;
? ? ? ? ? java/lang/Character isHighSurrogate (C)Z
M ? ? ? rewind ()Ljava/nio/CharBuffer;
W ? ? ? (I)Ljava/nio/ByteBuffer;
W ? ? ? ()Ljava/nio/ByteBuffer;
A ? ? ? encode K(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
W ? ? ? flip
W ? ? ?
?
? ? close
? ? ? mark (I)V
? ? reset t(Lsun/awt/datatransfer/DataTransferer;Ljava/io/InputStream;JLjava/lang/String;Ljava/awt/datatransfer/Transferable;)V Code LineNumberTable LocalVariableTable e Ljava/lang/RuntimeException; this ;Lsun/awt/datatransfer/DataTransferer$ReencodingInputStream;
bytestream Ljava/io/InputStream; format J targetEncoding Ljava/lang/String; localeTransferable $Ljava/awt/datatransfer/Transferable; lFormat Ljava/lang/Long; sourceEncoding sEoln terminators Ljava/lang/Integer;
StackMapTable ? "java/awt/datatransfer/Transferable
Exceptions c available array count
SourceFile DataTransferer.java NestHost InnerClasses ReencodingInputStream ! ) * J K > ? T U ] ^ ? ? ? ? ? ? ? ? ? ? ? ? ?*+? *? *??
!? :+!? ? :*? Y? Y,? !? $? '?
? +Y-? /?*? 2? 8? <**?