Filter state

Top  Previous  Next

 

FilterHeaderModel contains a method for serializing the filter state to an ObjectOutputStream:

 

public void saveFilterState(ObjectOutputStream out);

 

An ObjectInputStream can also be used to load the filter state:

 

public void loadFilterState(ObjectInputStream in);

 

Note: In your application, you could write the filter state to a file when exiting and load it upon initialization.