Interface SystemFileChooser.StateStore

Enclosing class:
SystemFileChooser

public static interface SystemFileChooser.StateStore
Simple state storage used to persist file chooser state (e.g. last used directory).
Since:
3.7
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String key, String def)
    Returns the value for the given key, or the default value if there is no value stored.
    void
    put(String key, String value)
    Stores the given key and value.
  • Field Details

  • Method Details

    • get

      String get(String key, String def)
      Returns the value for the given key, or the default value if there is no value stored.
    • put

      void put(String key, String value)
      Stores the given key and value. If value is null, it is removed from the store.