IOUtils.smali

.class public Lcom/cleanmaster/hpsharelib/utils/io/IOUtils;
.super Ljava/lang/Object;
.source "IOUtils.java"


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 12
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static closeSilently(Landroid/database/Cursor;)V
    .registers 2

    .prologue
    .line 32
    if-nez p0, :cond_3

    .line 38
    :goto_2
    return-void

    .line 35
    :cond_3
    :try_start_3
    invoke-interface {p0}, Landroid/database/Cursor;->close()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_6} :catch_7

    goto :goto_2

    .line 36
    :catch_7
    move-exception v0

    goto :goto_2
.end method

.method public static closeSilently(Ljava/io/Closeable;)V
    .registers 2

    .prologue
    .line 14
    if-nez p0, :cond_3

    .line 20
    :goto_2
    return-void

    .line 17
    :cond_3
    :try_start_3
    invoke-interface {p0}, Ljava/io/Closeable;->close()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_6} :catch_7

    goto :goto_2

    .line 18
    :catch_7
    move-exception v0

    goto :goto_2
.end method

.method public static closeSilently(Ljava/util/zip/ZipFile;)V
    .registers 2

    .prologue
    .line 23
    if-nez p0, :cond_3

    .line 29
    :goto_2
    return-void

    .line 26
    :cond_3
    :try_start_3
    invoke-virtual {p0}, Ljava/util/zip/ZipFile;->close()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_6} :catch_7

    goto :goto_2

    .line 27
    :catch_7
    move-exception v0

    goto :goto_2
.end method