Class CelestaDocUtils


  • public final class CelestaDocUtils
    extends Object
    Utility class for Celesta documents.
    • Method Detail

      • getCelestaDocJSON

        public static String getCelestaDocJSON​(String celestaDoc)
        Extracts first occurrence of JSON object string from CelestaDoc.
        Parameters:
        celestaDoc - Celesta document.
        Returns:
        Throws:
        CelestaException - thrown if broken or truncated JSON.
      • getList

        public static List<String> getList​(String celestaDoc,
                                           String key)
        Returns array for key as a value list.
        Parameters:
        celestaDoc - Celesta document.
        key - array key.
        Returns: