2022-06-10 21:38:30 +09:00

89 lines
1.7 KiB
Smali

.class public Lcom/skt/aicloud/mobile/service/util/l;
.super Ljava/lang/Object;
.source "IOCloser.java"
# static fields
.field public static final a:Ljava/lang/String; = "IOCloser"
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Lcom/google/android/exoplayer2/upstream/cache/CacheDataSource;)V
.locals 1
.line 1
:try_start_0
invoke-virtual {p0}, Lcom/google/android/exoplayer2/upstream/cache/CacheDataSource;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
move-exception p0
goto :goto_0
:catch_1
move-exception p0
:goto_0
const-string v0, "IOCloser"
.line 2
invoke-static {v0, p0}, Lcom/beyless/android/lib/util/log/BLog;->e(Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_1
return-void
.end method
.method public static b(Ljava/io/Closeable;)V
.locals 0
if-nez p0, :cond_0
return-void
.line 1
:cond_0
:try_start_0
invoke-interface {p0}, Ljava/io/Closeable;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p0
.line 2
invoke-virtual {p0}, Ljava/io/IOException;->printStackTrace()V
:goto_0
return-void
.end method
.method public static c(Ljava/net/HttpURLConnection;)V
.locals 0
if-nez p0, :cond_0
return-void
.line 1
:cond_0
invoke-virtual {p0}, Ljava/net/HttpURLConnection;->disconnect()V
return-void
.end method