com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Storage

  • java.lang.Object
    • com.aspose.slides.Storage


  • public final class Storage
    extends java.lang.Object

    Represents a temporary data storage for WebDocument.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Storage() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean containsKey(java.lang.String key)
      Determines whether the storage contains an element with the specified key.
      <TValue> TValue get(java.lang.String key)
      Gets the data from the storage.
      <TValue> void put(java.lang.String key, TValue value)
      Puts the value into the storage.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Storage

        public Storage()
    • Method Detail

      • put

        public final <TValue> void put(java.lang.String key,
                                       TValue value)

        Puts the value into the storage.

        Parameters:
        key - Key for the value.
        value - Value.
      • get

        public final <TValue> TValue get(java.lang.String key)

        Gets the data from the storage.

        Parameters:
        key - Key of the value.
        Returns:
        Data value if it is presented in the data collection, null otherwise.
      • containsKey

        public final boolean containsKey(java.lang.String key)

        Determines whether the storage contains an element with the specified key.

        Parameters:
        key - Key of the value.
        Returns:
        True if the storage contains an element with the specified key, false otherwise.