Class StoreConverter

java.lang.Object
com.jalios.jcms.tools.StoreConverter

public class StoreConverter extends Object
  • Constructor Details

    • StoreConverter

      public StoreConverter()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • convertJCMS56

      public static void convertJCMS56(File src, File tgt) throws Exception
      JCMS 5.6 Convertion (Hierarchical Groups). For each member, replace groups="..." with declaredGroups="..."
      Parameters:
      src - the source file
      tgt - the target file
      Throws:
      Exception - if an error occurs
      Since:
      jcms-5.6.0
    • convertJCMS60

      public static void convertJCMS60(File src, File tgt) throws Exception
      Throws:
      Exception
    • convertJCMS60_Init

      public static void convertJCMS60_Init() throws Exception
      Throws:
      Exception
    • convertJCMS601_Templates

      public static String convertJCMS601_Templates(String line) throws Exception
      Throws:
      Exception
    • convertJCMS60_Templates

      public static String convertJCMS60_Templates(String line) throws Exception
      Throws:
      Exception
    • resolveTmplValue

      public static String resolveTmplValue(String str, String prefix, boolean skipFirst)
    • convertJCMS61

      public static void convertJCMS61(File src, File tgt) throws Exception
      JCMS 6.1 Convertion (WKRole.isOpen : boolean becomes WKRole.getOpenMode : int).
      Parameters:
      src - the source file
      tgt - the target file
      Throws:
      Exception - if an error occurs
      Since:
      jcms-6.1.0