40 lines
983 B
Smali
40 lines
983 B
Smali
.class Lcom/badlogic/gdx/utils/TextFormatter;
|
|
.super Ljava/lang/Object;
|
|
.source "TextFormatter.java"
|
|
|
|
|
|
# instance fields
|
|
.field private a:Ljava/text/MessageFormat;
|
|
|
|
.field private b:Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/Locale;Z)V
|
|
.locals 1
|
|
|
|
.line 30
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 31
|
|
new-instance v0, Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/StringBuilder;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/TextFormatter;->b:Lcom/badlogic/gdx/utils/StringBuilder;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 32
|
|
new-instance p2, Ljava/text/MessageFormat;
|
|
|
|
const-string v0, ""
|
|
|
|
invoke-direct {p2, v0, p1}, Ljava/text/MessageFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
|
|
|
|
iput-object p2, p0, Lcom/badlogic/gdx/utils/TextFormatter;->a:Ljava/text/MessageFormat;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|