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.
124 lines
3.2 KiB
124 lines
3.2 KiB
.class Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream; |
|
.super Ljava/io/OutputStream; |
|
.source "FileLruCache.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/facebook/internal/FileLruCache; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0xa |
|
name = "CloseCallbackOutputStream" |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final callback:Lcom/facebook/internal/FileLruCache$StreamCloseCallback; |
|
|
|
.field final innerStream:Ljava/io/OutputStream; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Ljava/io/OutputStream;Lcom/facebook/internal/FileLruCache$StreamCloseCallback;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 476 |
|
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V |
|
|
|
.line 477 |
|
iput-object p1, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
.line 478 |
|
iput-object p2, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->callback:Lcom/facebook/internal/FileLruCache$StreamCloseCallback; |
|
|
|
.line 479 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public close()V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 484 |
|
:try_start_0 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
invoke-virtual {v0}, Ljava/io/OutputStream;->close()V |
|
:try_end_0 |
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0 |
|
|
|
.line 486 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->callback:Lcom/facebook/internal/FileLruCache$StreamCloseCallback; |
|
|
|
invoke-interface {v0}, Lcom/facebook/internal/FileLruCache$StreamCloseCallback;->onClose()V |
|
|
|
.line 488 |
|
return-void |
|
|
|
.line 486 |
|
:catchall_0 |
|
move-exception v0 |
|
|
|
iget-object v1, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->callback:Lcom/facebook/internal/FileLruCache$StreamCloseCallback; |
|
|
|
invoke-interface {v1}, Lcom/facebook/internal/FileLruCache$StreamCloseCallback;->onClose()V |
|
|
|
throw v0 |
|
.end method |
|
|
|
.method public flush()V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 492 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V |
|
|
|
.line 493 |
|
return-void |
|
.end method |
|
|
|
.method public write(I)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 507 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write(I)V |
|
|
|
.line 508 |
|
return-void |
|
.end method |
|
|
|
.method public write([B)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 502 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V |
|
|
|
.line 503 |
|
return-void |
|
.end method |
|
|
|
.method public write([BII)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 497 |
|
iget-object v0, p0, Lcom/facebook/internal/FileLruCache$CloseCallbackOutputStream;->innerStream:Ljava/io/OutputStream; |
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/io/OutputStream;->write([BII)V |
|
|
|
.line 498 |
|
return-void |
|
.end method
|
|
|