c.smali

.class public Lcom/cleanmaster/kinfoc/c;
.super Ljava/lang/Object;
.source "FormFile.java"


# instance fields
.field private a:Ljava/io/File;

.field private b:Ljava/lang/String;


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

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

    return-void
.end method


# virtual methods
.method public a()Ljava/io/File;
    .registers 2

    .prologue
    .line 15
    iget-object v0, p0, Lcom/cleanmaster/kinfoc/c;->a:Ljava/io/File;

    return-object v0
.end method

.method public a(Ljava/io/File;)V
    .registers 2

    .prologue
    .line 19
    iput-object p1, p0, Lcom/cleanmaster/kinfoc/c;->a:Ljava/io/File;

    .line 20
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .registers 2

    .prologue
    .line 27
    iput-object p1, p0, Lcom/cleanmaster/kinfoc/c;->b:Ljava/lang/String;

    .line 28
    return-void
.end method

.method public b()Ljava/lang/String;
    .registers 2

    .prologue
    .line 23
    iget-object v0, p0, Lcom/cleanmaster/kinfoc/c;->b:Ljava/lang/String;

    return-object v0
.end method

.method public c()Ljava/lang/String;
    .registers 2

    .prologue
    .line 31
    iget-object v0, p0, Lcom/cleanmaster/kinfoc/c;->a:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public d()[B
    .registers 7

    .prologue
    const/4 v0, 0x0

    .line 35
    new-instance v1, Ljava/io/ByteArrayOutputStream;

    invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V

    .line 38
    :try_start_6
    new-instance v2, Ljava/io/FileInputStream;

    iget-object v3, p0, Lcom/cleanmaster/kinfoc/c;->a:Ljava/io/File;

    invoke-direct {v2, v3}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
    :try_end_d
    .catch Ljava/io/FileNotFoundException; {:try_start_6 .. :try_end_d} :catch_60
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_d} :catch_3e
    .catchall {:try_start_6 .. :try_end_d} :catchall_4e

    .line 39
    const/16 v3, 0x400

    :try_start_f
    new-array v3, v3, [B

    .line 41
    :goto_11
    const/4 v4, 0x0

    const/16 v5, 0x400

    invoke-virtual {v2, v3, v4, v5}, Ljava/io/FileInputStream;->read([BII)I

    move-result v4

    const/4 v5, -0x1

    if-eq v4, v5, :cond_2a

    .line 42
    const/4 v5, 0x0

    invoke-virtual {v1, v3, v5, v4}, Ljava/io/ByteArrayOutputStream;->write([BII)V
    :try_end_1f
    .catch Ljava/io/FileNotFoundException; {:try_start_f .. :try_end_1f} :catch_20
    .catch Ljava/io/IOException; {:try_start_f .. :try_end_1f} :catch_5e
    .catchall {:try_start_f .. :try_end_1f} :catchall_5c

    goto :goto_11

    .line 45
    :catch_20
    move-exception v1

    .line 46
    :goto_21
    :try_start_21
    invoke-virtual {v1}, Ljava/io/FileNotFoundException;->printStackTrace()V
    :try_end_24
    .catchall {:try_start_21 .. :try_end_24} :catchall_5c

    .line 51
    if-eqz v2, :cond_29

    .line 52
    :try_start_26
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_29
    .catch Ljava/io/IOException; {:try_start_26 .. :try_end_29} :catch_39

    .line 58
    :cond_29
    :goto_29
    return-object v0

    .line 44
    :cond_2a
    :try_start_2a
    invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
    :try_end_2d
    .catch Ljava/io/FileNotFoundException; {:try_start_2a .. :try_end_2d} :catch_20
    .catch Ljava/io/IOException; {:try_start_2a .. :try_end_2d} :catch_5e
    .catchall {:try_start_2a .. :try_end_2d} :catchall_5c

    move-result-object v0

    .line 51
    if-eqz v2, :cond_29

    .line 52
    :try_start_30
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_33
    .catch Ljava/io/IOException; {:try_start_30 .. :try_end_33} :catch_34

    goto :goto_29

    .line 54
    :catch_34
    move-exception v1

    .line 55
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_29

    .line 54
    :catch_39
    move-exception v1

    .line 55
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_29

    .line 47
    :catch_3e
    move-exception v1

    move-object v2, v0

    .line 48
    :goto_40
    :try_start_40
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V
    :try_end_43
    .catchall {:try_start_40 .. :try_end_43} :catchall_5c

    .line 51
    if-eqz v2, :cond_29

    .line 52
    :try_start_45
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_48
    .catch Ljava/io/IOException; {:try_start_45 .. :try_end_48} :catch_49

    goto :goto_29

    .line 54
    :catch_49
    move-exception v1

    .line 55
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_29

    .line 50
    :catchall_4e
    move-exception v1

    move-object v2, v0

    move-object v0, v1

    .line 51
    :goto_51
    if-eqz v2, :cond_56

    .line 52
    :try_start_53
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_56
    .catch Ljava/io/IOException; {:try_start_53 .. :try_end_56} :catch_57

    .line 56
    :cond_56
    :goto_56
    throw v0

    .line 54
    :catch_57
    move-exception v1

    .line 55
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_56

    .line 50
    :catchall_5c
    move-exception v0

    goto :goto_51

    .line 47
    :catch_5e
    move-exception v1

    goto :goto_40

    .line 45
    :catch_60
    move-exception v1

    move-object v2, v0

    goto :goto_21
.end method