Class ReplacementForString


  • class ReplacementForString
    extends java.lang.Object
    Additional methods for the class java.lang.String.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private DOMString domStr
      hold the DOMString if there is already any
    • Field Detail

      • domStr

        private DOMString domStr
        hold the DOMString if there is already any
    • Constructor Detail

      • ReplacementForString

        ReplacementForString()
    • Method Detail

      • fromChars

        private static DOMString fromChars​(char[] value)
        Create a DOMString via JavaScript from char array.
        Parameters:
        value - the characters of the string
        Returns:
        the DOMString
      • domString

        private java.lang.Object domString()
        Getter and factory for DOMStrings.
        Returns:
        the string
      • toCharArray

        public char[] toCharArray()
        Placeholder for existing public method.