Class ContextRelativeResourceReference

    • Constructor Detail

      • ContextRelativeResourceReference

        public ContextRelativeResourceReference​(String name)
        Instantiates a new context relative resource reference for the given name. The resource will be minified in DEPLOYMENT mode and "min" will be used as postfix.
        Parameters:
        name - the resource name
      • ContextRelativeResourceReference

        public ContextRelativeResourceReference​(String name,
                                                boolean minifyIt)
        Instantiates a new context relative resource reference for the given name. Parameter minifyIt says if the resource can be minified (true) or not (false).
        Parameters:
        name - the resource name
        minifyIt - says if the resource name can be minified or not
      • ContextRelativeResourceReference

        public ContextRelativeResourceReference​(String name,
                                                String minPostfix)
        Instantiates a new context relative resource reference for the given name. We can specify which postfix we want to use for minification with parameter @code minPostfix}
        Parameters:
        name - the resource name
        minPostfix - the minfied postfix
      • ContextRelativeResourceReference

        public ContextRelativeResourceReference​(String name,
                                                String minPostfix,
                                                boolean minifyIt)
        Instantiates a new context relative resource reference for the given name. We can specify which postfix we want to use for minification with parameter @code minPostfix} while parameter minifyIt says if the resource can be minified (true) or not (false).
        Parameters:
        name - the resource name
        minPostfix - the minfied postfix
        minifyIt - says if the resource name can be minified or not