org.jumpmind.symmetric.fs.service.filesystem
Class FileSystemSyncConfigCollectionPersister

java.lang.Object
  extended by org.jumpmind.persist.AbstractJsonFileSystemPersister<SyncConfigCollection,Object>
      extended by org.jumpmind.symmetric.fs.service.filesystem.FileSystemSyncConfigCollectionPersister
All Implemented Interfaces:
IPersister<SyncConfigCollection,Object>, ISyncConfigCollectionPersister

public class FileSystemSyncConfigCollectionPersister
extends AbstractJsonFileSystemPersister<SyncConfigCollection,Object>
implements ISyncConfigCollectionPersister


Field Summary
 
Fields inherited from class org.jumpmind.persist.AbstractJsonFileSystemPersister
directory
 
Constructor Summary
FileSystemSyncConfigCollectionPersister(String directory)
           
 
Method Summary
protected  String buildFileNameFor(Object key)
           
 SyncConfigCollection get()
           
 void save(SyncConfigCollection object)
           
 
Methods inherited from class org.jumpmind.persist.AbstractJsonFileSystemPersister
close, delete, get, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemSyncConfigCollectionPersister

public FileSystemSyncConfigCollectionPersister(String directory)
Method Detail

get

public SyncConfigCollection get()
Specified by:
get in interface ISyncConfigCollectionPersister

save

public void save(SyncConfigCollection object)
Specified by:
save in interface ISyncConfigCollectionPersister

buildFileNameFor

protected String buildFileNameFor(Object key)
Specified by:
buildFileNameFor in class AbstractJsonFileSystemPersister<SyncConfigCollection,Object>


Copyright © 2012-2013 JumpMind, Inc.. All Rights Reserved.