.class public Lorg/apache/http/client/utils/Punycode; .super Ljava/lang/Object; .source "Punycode.java" # annotations .annotation runtime Ljava/lang/Deprecated; .end annotation # static fields .field private static final impl:Lorg/apache/http/client/utils/Idn; # direct methods .method static constructor ()V .registers 1 .line 47 :try_start_0 new-instance v0, Lorg/apache/http/client/utils/JdkIdn; invoke-direct {v0}, Lorg/apache/http/client/utils/JdkIdn;->()V :try_end_5 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_5} :catch_6 goto :goto_b .line 49 :catch_6 new-instance v0, Lorg/apache/http/client/utils/Rfc3492Idn; invoke-direct {v0}, Lorg/apache/http/client/utils/Rfc3492Idn;->()V .line 51 :goto_b sput-object v0, Lorg/apache/http/client/utils/Punycode;->impl:Lorg/apache/http/client/utils/Idn; return-void .end method .method public constructor ()V .registers 1 .line 42 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static toUnicode(Ljava/lang/String;)Ljava/lang/String; .registers 2 .line 55 sget-object v0, Lorg/apache/http/client/utils/Punycode;->impl:Lorg/apache/http/client/utils/Idn; invoke-interface {v0, p0}, Lorg/apache/http/client/utils/Idn;->toUnicode(Ljava/lang/String;)Ljava/lang/String; move-result-object p0 return-object p0 .end method