h.smali

.class public Lcom/fulishe/fs/h;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public a:Ljava/lang/String;

.field public b:I

.field public c:I


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .registers 2

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

    iput-object p1, p0, Lcom/fulishe/fs/h;->a:Ljava/lang/String;

    return-void
.end method

.method public static a(Lorg/json/JSONObject;)Lcom/fulishe/fs/h;
    .registers 3

    new-instance v0, Lcom/fulishe/fs/h;

    const-string v1, "imageurl"

    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/fulishe/fs/h;-><init>(Ljava/lang/String;)V

    const-string v1, "imagewidth"

    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/fulishe/fs/h;->b:I

    const-string v1, "imageheight"

    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v1

    iput v1, v0, Lcom/fulishe/fs/h;->c:I

    return-object v0
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/fulishe/fs/h;->a:Ljava/lang/String;

    return-object v0
.end method

.method public b()I
    .registers 2

    iget v0, p0, Lcom/fulishe/fs/h;->b:I

    return v0
.end method

.method public c()I
    .registers 2

    iget v0, p0, Lcom/fulishe/fs/h;->c:I

    return v0
.end method