com.human.gateway.client.bean.FileResource.class Maven / Gradle / Ivy
???? 2 b
> ? @
A
B C D E
F G
H I
J
K
L M N O P Q
R S T content Ljava/io/File; E(Ljava/io/File;Lcom/human/gateway/client/enumerator/LayoutTypeEnum;)V Code LineNumberTable LocalVariableTable this ,Lcom/human/gateway/client/bean/FileResource; file type 4Lcom/human/gateway/client/enumerator/LayoutTypeEnum; getFile ()Ljava/io/File;
getContent ()Ljava/lang/String; reader Ljava/io/FileReader; buffer Ljava/io/BufferedReader; line Ljava/lang/String; e Ljava/io/FileNotFoundException; Ljava/io/IOException; result Ljava/lang/StringBuilder;
StackMapTable @ G I U N P
Exceptions
SourceFile FileResource.java V java/lang/StringBuilder W X Y Z 7com/human/gateway/client/exception/ClientHumanException #File size exceeds the limit of 1MB. [ java/io/FileReader \ java/io/BufferedReader ] ^ ( _ `
java/io/FileNotFoundException File not found. java/io/IOException File not readable. a ( *com/human/gateway/client/bean/FileResource -com/human/gateway/client/bean/MultipleMessage java/lang/String 7(Lcom/human/gateway/client/enumerator/LayoutTypeEnum;)V ()V java/io/File length ()J (Ljava/lang/String;)V (Ljava/io/File;)V (Ljava/io/Reader;)V readLine append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ! Q *,? *+? ? " #
$ ! " # $ % &