org.netbeans.modules.editor.settings.storage/1 1.19

org.netbeans.modules.editor.settings.storage.spi
Class StorageFilter<K,V>

java.lang.Object
  extended by org.netbeans.modules.editor.settings.storage.spi.StorageFilter<K,V>

public abstract class StorageFilter<K,V>
extends Object

TODO: describe threading, possible storageDescription IDs, semantics of filtering after load and 'un-filtering' before save


Constructor Summary
protected StorageFilter(String storageDescriptionId)
           
 
Method Summary
abstract  void afterLoad(Map<K,V> map, MimePath mimePath, String profile, boolean defaults)
           
abstract  void beforeSave(Map<K,V> map, MimePath mimePath, String profile, boolean defaults)
           
protected  void notifyChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageFilter

protected StorageFilter(String storageDescriptionId)
Method Detail

afterLoad

public abstract void afterLoad(Map<K,V> map,
                               MimePath mimePath,
                               String profile,
                               boolean defaults)
                        throws IOException
Throws:
IOException

beforeSave

public abstract void beforeSave(Map<K,V> map,
                                MimePath mimePath,
                                String profile,
                                boolean defaults)
                         throws IOException
Throws:
IOException

notifyChanges

protected final void notifyChanges()

org.netbeans.modules.editor.settings.storage/1 1.19

Built on November 20 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.