Class LocalStorage

java.lang.Object
dev.prozilla.pine.core.storage.Storage
dev.prozilla.pine.core.storage.LocalStorage
All Implemented Interfaces:
Destructible, Initializable, Printable, Transceivable<Storage>, Transmittable<Storage>

public class LocalStorage extends Storage
A key-value store that is saved as a properties file on the user's system.
  • Field Details

  • Constructor Details

    • LocalStorage

      public LocalStorage(Application application)
  • Method Details

    • load

      public void load()
      Description copied from class: Storage
      Loads items into this store.
      Specified by:
      load in class Storage
    • setItems

      public void setItems(Properties properties)
    • save

      public void save()
      Description copied from class: Storage
      Saves the items from this store.
      Specified by:
      save in class Storage
    • getPath

      public String getPath()