RLogConfig$1.smali

.class Lio/rong/common/rlog/RLogConfig$1;
.super Ljava/lang/Object;
.source "RLogConfig.java"

# interfaces
.implements Ljava/io/FileFilter;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/common/rlog/RLogConfig;->refreshZipConfig()Lio/rong/common/rlog/RLogConfig$ZipConfig;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lio/rong/common/rlog/RLogConfig;


# direct methods
.method constructor <init>(Lio/rong/common/rlog/RLogConfig;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lio/rong/common/rlog/RLogConfig$1;->this$0:Lio/rong/common/rlog/RLogConfig;

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

    return-void
.end method


# virtual methods
.method public accept(Ljava/io/File;)Z
    .registers 3

    .line 1
    invoke-virtual {p1}, Ljava/io/File;->isFile()Z

    move-result v0

    if-nez v0, :cond_8

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_8
    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object p1

    const-string v0, ".gz"

    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p1

    return p1
.end method