    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import java.util.List;
    006
    007    public interface ISaveFormat
    008    {
    009        /**
    010         * Returns back a loader for the specified save directory
    011         */
    012        ISaveHandler getSaveLoader(String var1, boolean var2);
    013
    014        @SideOnly(Side.CLIENT)
    015        List getSaveList();
    016
    017        void flushCache();
    018
    019        @SideOnly(Side.CLIENT)
    020
    021        /**
    022         * gets the world info
    023         */
    024        WorldInfo getWorldInfo(String var1);
    025
    026        /**
    027         * @args: Takes one argument - the name of the directory of the world to delete. @desc: Delete the world by deleting
    028         * the associated directory recursively.
    029         */
    030        boolean deleteWorldDirectory(String var1);
    031
    032        @SideOnly(Side.CLIENT)
    033
    034        /**
    035         * @args: Takes two arguments - first the name of the directory containing the world and second the new name for
    036         * that world. @desc: Renames the world by storing the new name in level.dat. It does *not* rename the directory
    037         * containing the world data.
    038         */
    039        void renameWorld(String var1, String var2);
    040
    041        /**
    042         * Checks if the save directory uses the old map format
    043         */
    044        boolean isOldMapFormat(String var1);
    045
    046        /**
    047         * Converts the specified map to the new map format. Args: worldName, loadingScreen
    048         */
    049        boolean convertMapFormat(String var1, IProgressUpdate var2);
    050
    051        @SideOnly(Side.CLIENT)
    052        boolean func_90033_f(String var1);
    053    }