com.groupbyinc.flux.plugins.InstallPluginCommand$TerminalProgressInputStream.class Maven / Gradle / Ivy
???? 4 y Lcom/groupbyinc/flux/plugins/InstallPluginCommand$TerminalProgressInputStream /com/groupbyinc/flux/plugins/ProgressInputStream InstallPluginCommand.java 0com/groupbyinc/flux/plugins/InstallPluginCommand TerminalProgressInputStream *com/groupbyinc/flux/cli/Terminal$Verbosity com/groupbyinc/flux/cli/Terminal Verbosity terminal "Lcom/groupbyinc/flux/cli/Terminal; width I enabled Z this$0 2Lcom/groupbyinc/flux/plugins/InstallPluginCommand; m(Lcom/groupbyinc/flux/plugins/InstallPluginCommand;Ljava/io/InputStream;ILcom/groupbyinc/flux/cli/Terminal;)V (Ljava/io/InputStream;I)V
java/io/InputStream ! # this NLcom/groupbyinc/flux/plugins/InstallPluginCommand$TerminalProgressInputStream; is Ljava/io/InputStream; expectedTotalSize
onProgress (I)V java/lang/StringBuilder ,
[ . (Ljava/lang/String;)V 0
- 1 = 3 5 java/util/Collections 7 nCopies %(ILjava/lang/Object;)Ljava/util/List; 9 :
8 ; java/lang/String = join @(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String; ? @
> A append -(Ljava/lang/String;)Ljava/lang/StringBuilder; C D
- E > G I ] %s K
M NORMAL ,Lcom/groupbyinc/flux/cli/Terminal$Verbosity; O P
Q java/util/Locale S ROOT Ljava/util/Locale; U V T W toString ()Ljava/lang/String; Y Z
- [ java/lang/Object ] ()V _
- ` (I)Ljava/lang/StringBuilder; C b
- c % e format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; g h
> i print A(Lcom/groupbyinc/flux/cli/Terminal$Verbosity;Ljava/lang/String;)V k l
m currentPosition sb Ljava/lang/StringBuilder; percent Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses s ? %*+? *,? *2? *? *? ? ? $? t * % % &