Class ClassMigrator


  • public class ClassMigrator
    extends Object
    With the package renames from 1.5.6 to 1.6.0, serialized classes cannot be reconstructed, This tool is used for that
    • Constructor Detail

      • ClassMigrator

        public ClassMigrator()
    • Method Detail

      • isEnabled

        public static boolean isEnabled()
      • setEnabled

        public static void setEnabled​(boolean enabled)
      • setClasses

        public static void setClasses​(Map<String,​String> newClasses)
      • setNamespaces

        public static void setNamespaces​(Map<String,​String> newNamespaces)
      • renameClass

        public static String renameClass​(String className)
      • renameNamespace

        public static String renameNamespace​(String namespace)
      • init

        public static void init()
      • updateSerializedJSON

        public static void updateSerializedJSON​(net.sf.json.JSONObject json)