今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.3 KiB

.class final Lcom/google/common/io/CharStreams$3;
.super Lcom/google/common/io/CharSource;
.source "CharStreams.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/google/common/io/CharStreams;->asCharSource(Lcom/google/common/io/InputSupplier;)Lcom/google/common/io/CharSource;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$supplier:Lcom/google/common/io/InputSupplier;
# direct methods
.method constructor <init>(Lcom/google/common/io/InputSupplier;)V
.locals 0
.prologue
.line 553
iput-object p1, p0, Lcom/google/common/io/CharStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier;
invoke-direct {p0}, Lcom/google/common/io/CharSource;-><init>()V
return-void
.end method
# virtual methods
.method public openStream()Ljava/io/Reader;
.locals 1
.prologue
.line 556
iget-object v0, p0, Lcom/google/common/io/CharStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier;
invoke-interface {v0}, Lcom/google/common/io/InputSupplier;->getInput()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Readable;
invoke-static {v0}, Lcom/google/common/io/CharStreams;->asReader(Ljava/lang/Readable;)Ljava/io/Reader;
move-result-object v0
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.prologue
.line 561
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "CharStreams.asCharSource("
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lcom/google/common/io/CharStreams$3;->val$supplier:Lcom/google/common/io/InputSupplier;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ")"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method