IPSDatabase.registerExtension("gas", TownMapEditor.class.getMethod(
IPSDatabase.registerExtension("tnm", TownMapEditor.class.getMethod(
    public TownMapEditor(AbstractRom rom, XMLPreferences prefs)    {        super(rom, prefs);        try        {            Class[] c = new Class[]{byte[].class, TownMapEditor.class};            IPSDatabase.registerExtension("gas", TownMapEditor.class.getMethod(                "importData", c), TownMapEditor.class.getMethod("restoreData",                c), TownMapEditor.class.getMethod("checkData", c), this);        }        catch (SecurityException e)        {            // no security model, shouldn't have to worry about this            e.printStackTrace();        }        catch (NoSuchMethodException e)        {            // spelling mistake, maybe? ^_^;            e.printStackTrace();        }    }