Class StoreConverter


  • public class StoreConverter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StoreConverter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void convertJCMS56​(java.io.File src, java.io.File tgt)
      JCMS 5.6 Convertion (Hierarchical Groups).
      static void convertJCMS60​(java.io.File src, java.io.File tgt)  
      static void convertJCMS60_Init()  
      static java.lang.String convertJCMS60_Templates​(java.lang.String line)  
      static java.lang.String convertJCMS601_Templates​(java.lang.String line)  
      static void convertJCMS61​(java.io.File src, java.io.File tgt)
      JCMS 6.1 Convertion (WKRole.isOpen : boolean becomes WKRole.getOpenMode : int).
      static void main​(java.lang.String[] args)  
      static java.lang.String resolveTmplValue​(java.lang.String str, java.lang.String prefix, boolean skipFirst)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StoreConverter

        public StoreConverter()
    • Method Detail

      • main

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

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

        public static void convertJCMS60​(java.io.File src,
                                         java.io.File tgt)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convertJCMS60_Init

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

        public static java.lang.String convertJCMS601_Templates​(java.lang.String line)
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convertJCMS60_Templates

        public static java.lang.String convertJCMS60_Templates​(java.lang.String line)
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • resolveTmplValue

        public static java.lang.String resolveTmplValue​(java.lang.String str,
                                                        java.lang.String prefix,
                                                        boolean skipFirst)
      • convertJCMS61

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