52 lines
1.2 KiB
Smali
52 lines
1.2 KiB
Smali
.class public Lcom/skt/aicloud/mobile/service/util/PatternHelper;
|
|
.super Ljava/lang/Object;
|
|
.source "PatternHelper.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/skt/aicloud/mobile/service/util/PatternHelper$CharPattern;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;Lcom/skt/aicloud/mobile/service/util/PatternHelper$CharPattern;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object p1, p1, Lcom/skt/aicloud/mobile/service/util/PatternHelper$CharPattern;->pattern:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {p1, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, ""
|
|
|
|
invoke-virtual {p0, p1}, Ljava/util/regex/Matcher;->replaceAll(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|