Class CScriptUtil


  • public class CScriptUtil
    extends java.lang.Object
    The type C script util. For internal use only.
    • Method Detail

      • compileCScriptStub

        public static java.lang.String compileCScriptStub​(PluginMethod method,
                                                          ContextRules context)
                                                   throws CometException
        Compile c script stub string.
        Parameters:
        method - the method
        context - the context
        Returns:
        the string
        Throws:
        CometException - the comet exception
      • compileCScriptHeader

        public static java.lang.String compileCScriptHeader​(PluginMethod method)
                                                     throws CometException
        Compile c script header string.
        Parameters:
        method - the method
        Returns:
        the string
        Throws:
        CometException - the comet exception
      • getListImplementation

        public static java.lang.Class<? extends java.util.List<?>> getListImplementation​(java.lang.String elementType)
        Gets list implementation.
        Parameters:
        elementType - the element type
        Returns:
        the list implementation