com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class JavaScriptCollection



  • public class JavaScriptCollection
    extends Object

    This class represents collection of JavaScript.

    • Method Detail

      • getKeys

        public List<String> getKeys()

        List of keys in JavaScript collection.

        Returns:
        List<String> collection
      • get_Item

        public String get_Item(String key)

        Gets JavaScript from collection by its key.

        Parameters:
        key - String object Key value.
        Returns:
        String object Javascript collection.
      • set_Item

        public void set_Item(String key,
                             String value)

        Sets JavaScript from collection by its key.

        Parameters:
        key - String object Javascript collection.
        value - String object Key value.
      • remove

        public boolean remove(String key)

        Removes JavaScript by its name.

        Parameters:
        key - String object Key value.
        Returns:
        boolean value True - if javascript removed; otherwise, false.