
com.google.common.io.ByteSource$SlicedByteSource.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 4 ? 0com/google/common/io/ByteSource$SlicedByteSource this$0 !Lcom/google/common/io/ByteSource;
com/google/common/io/ByteSource ()V offset (%s) may not be negative
$com/google/common/base/Preconditions
checkArgument (ZLjava/lang/String;J)V length (%s) may not be negative offset J length
!
openStream ()Ljava/io/InputStream;
# $ % sliceStream ,(Ljava/io/InputStream;)Ljava/io/InputStream;
' ( ! openBufferedStream
* + , - . com/google/common/io/ByteStreams skipUpTo (Ljava/io/InputStream;J)J 0 java/lang/Throwable
2 3 4 5 6 com/google/common/io/Closer create ()Lcom/google/common/io/Closer;
2 8 9 : register ((Ljava/io/Closeable;)Ljava/io/Closeable;
2 < = > rethrow 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
2 @ A close
C @ D java/io/InputStream F java/io/ByteArrayInputStream
E H I ([B)V
* K L M limit -(Ljava/io/InputStream;J)Ljava/io/InputStream;
O P Q empty #()Lcom/google/common/io/ByteSource;
S T U V W java/lang/Math min (JJ)J
Y Z [ slice %(JJ)Lcom/google/common/io/ByteSource;
] ^ _ isEmpty ()Z
a b c sizeIfKnown #()Lcom/google/common/base/Optional;
e f g h _ com/google/common/base/Optional isPresent
e j k l get ()Ljava/lang/Object; n java/lang/Long
m p q r longValue ()J
m t u v valueOf (J)Ljava/lang/Long;
e x y z of 5(Ljava/lang/Object;)Lcom/google/common/base/Optional;
e | } c absent java/lang/StringBuilder
~
? ? ? ? ? java/lang/Object toString ()Ljava/lang/String;
~ ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? .slice(
~ ? ? ? (J)Ljava/lang/StringBuilder; ? , ? )
~ ? &(Lcom/google/common/io/ByteSource;JJ)V Code LineNumberTable LocalVariableTable this 2Lcom/google/common/io/ByteSource$SlicedByteSource;
StackMapTable MethodParameters
Exceptions ? java/io/IOException skipped closer Lcom/google/common/io/Closer; e Ljava/lang/Throwable; in Ljava/io/InputStream; maxLength unslicedSize off optionalUnslicedSize !Lcom/google/common/base/Optional; LocalVariableTypeTable 3Lcom/google/common/base/Optional; Signature 5()Lcom/google/common/base/Optional;
SourceFile ByteSource.java InnerClasses SlicedByteSource 0 ? ? ? 9*+? *? ?? ?
? ?? ? ? * ? *? ? ? ? ? ? -? 2? 8? ? 9 ? ? 9 9 ? ? @@ ?
! ? 6 **? ? ? "? ? ? ? ? ? ? ? ( ! ? 6 **? ? &? "? ? ? ? ? ? ? $ % ? ' V*? ?? G+*? ? )A? #:? 1:+? 7W? ;?:? ?? *? ?? +? B? EY?? G?+*? ? J? / # - + ? 6
# + 2 5 > B M ? > ? ? ? ? ? 5 ? V ? ? V ? ? ? / U /? C / 2 /? C ? ? ? ? ? Z [ ? ? K ?? ?
? ! ?? ? !? *? e7 ?? ? N? *? *? a!? R? X? ? ! "" *# 1$ 7% J# ? * K ? ? K K * ! ? ?
@@? R ? ^ _ ? L *? ??
*? \? ? ? ? * ? ? ? ? @ ? ? b c ? ? :*? ? `L+? d? *+? i? m? oA*? ? R7*? e? R? s? w?? {? ? / 0 1 2 $3 65 ? * ? $ ? : ? ? 2 ? ? ? 2 ? ? ? ? 6 e ? ? ? ? ? \ 2? ~Y? ?*? ? ?? ??? ?*? ? ??? ?*? ? ??? ?? ?? ? : ? 2 ? ? ? ? ?
?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy