61 lines
1.6 KiB
Smali
61 lines
1.6 KiB
Smali
.class Lorg/jdesktop/application/ResourceConverter$URIResourceConverter;
|
|
.super Lorg/jdesktop/application/ResourceConverter;
|
|
.source "ResourceConverter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lorg/jdesktop/application/ResourceConverter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "URIResourceConverter"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-class v0, Ljava/net/URI;
|
|
|
|
invoke-direct {p0, v0}, Lorg/jdesktop/application/ResourceConverter;-><init>(Ljava/lang/Class;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public parseString(Ljava/lang/String;Lorg/jdesktop/application/ResourceMap;)Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lorg/jdesktop/application/ResourceConverter$ResourceConverterException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance p2, Ljava/net/URI;
|
|
|
|
invoke-direct {p2, p1}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p2
|
|
|
|
:catch_0
|
|
move-exception p2
|
|
|
|
.line 2
|
|
new-instance v0, Lorg/jdesktop/application/ResourceConverter$ResourceConverterException;
|
|
|
|
const-string v1, "invalid URI"
|
|
|
|
invoke-direct {v0, v1, p1, p2}, Lorg/jdesktop/application/ResourceConverter$ResourceConverterException;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|