Interface PropertiesCacheManager.Saveable

All Known Implementing Classes:
ListTemplate.MyList, XmlTree
Enclosing class:
PropertiesCacheManager

public static interface PropertiesCacheManager.Saveable
This interface allows for persistence of non-properties session objects. These methods should behave precisely like the corrosponding methods of the Properties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The current object state is the "default"; "save" does not need to write out any state.
    void
    Recreate the object from the ascii representation stored as a Properties format file.
    void
    save(OutputStream out, String header)
    Create an ascii representation of this object in a Java Properties format.
  • Method Details

    • load

      void load(InputStream in) throws IOException
      Recreate the object from the ascii representation stored as a Properties format file.
      Throws:
      IOException
    • save

      void save(OutputStream out, String header) throws IOException
      Create an ascii representation of this object in a Java Properties format.
      Throws:
      IOException
    • isEmpty

      boolean isEmpty()
      The current object state is the "default"; "save" does not need to write out any state.