sunlabs.brazil.session

Interface PropertiesCacheManager.Saveable

public 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
booleanisEmpty()
The current object state is the "default"; "save" does not need to write out any state.
voidload(InputStream in)
Recreate the object from the ascii representation stored as a Properties format file.
voidsave(OutputStream out, String header)
Create an ascii representation of this object in a Java Properties format.

Method Detail

isEmpty

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

load

public void load(InputStream in)
Recreate the object from the ascii representation stored as a Properties format file.

save

public void save(OutputStream out, String header)
Create an ascii representation of this object in a Java Properties format.