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 or sets JavaScrip from collection by its key.

        Parameters:
        key - String object
        Returns:
        String object
      • set_Item

        public void set_Item(String key,
                             String value)

        Gets or sets JavaScrip from collection by its key.

        Parameters:
        key - String object
        value - String object
      • remove

        public boolean remove(String key)

        Removes JavaScript by its name.

        Parameters:
        key - String object
        Returns:
        boolean value