001package net.minecraft.client.mco;
002
003import argo.jdom.JdomParser;
004import argo.jdom.JsonRootNode;
005import argo.saj.InvalidSyntaxException;
006import cpw.mods.fml.relauncher.Side;
007import cpw.mods.fml.relauncher.SideOnly;
008import net.minecraft.util.ValueObject;
009
010@SideOnly(Side.CLIENT)
011public class McoServerAddress extends ValueObject
012{
013    public String field_96417_a;
014
015    public static McoServerAddress func_98162_a(String par0Str)
016    {
017        McoServerAddress mcoserveraddress = new McoServerAddress();
018
019        try
020        {
021            JsonRootNode jsonrootnode = (new JdomParser()).parse(par0Str);
022            mcoserveraddress.field_96417_a = jsonrootnode.getStringValue(new Object[] {"address"});
023        }
024        catch (InvalidSyntaxException invalidsyntaxexception)
025        {
026            ;
027        }
028        catch (IllegalArgumentException illegalargumentexception)
029        {
030            ;
031        }
032
033        return mcoserveraddress;
034    }
035}