Interface Savable


public interface Savable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load​(Map<String,​String> data)
    Takes a map of strings to strings and loads values in from it.
    Saves the object in the form of a map of strings to strings.
  • Method Details

    • save

      Map<String,​String> save()
      Saves the object in the form of a map of strings to strings.
      Returns:
      The saved data.
    • load

      void load(Map<String,​String> data)
      Takes a map of strings to strings and loads values in from it.
      Parameters:
      data - The data to load.