com.octo.android.robospice.persistence.springandroid.xml
Class SimpleSerializerObjectPersisterFactory

java.lang.Object
  extended by com.octo.android.robospice.persistence.ObjectPersisterFactory
      extended by com.octo.android.robospice.persistence.file.InFileObjectPersisterFactory
          extended by com.octo.android.robospice.persistence.springandroid.xml.SimpleSerializerObjectPersisterFactory
All Implemented Interfaces:
CacheCleaner, Persister

public class SimpleSerializerObjectPersisterFactory
extends InFileObjectPersisterFactory


Constructor Summary
SimpleSerializerObjectPersisterFactory(android.app.Application application)
           
SimpleSerializerObjectPersisterFactory(android.app.Application application, File cacheFolder)
           
SimpleSerializerObjectPersisterFactory(android.app.Application application, List<Class<?>> listHandledClasses)
           
SimpleSerializerObjectPersisterFactory(android.app.Application application, List<Class<?>> listHandledClasses, File cacheFolder)
           
 
Method Summary
<DATA> InFileObjectPersister<DATA>
createInFileObjectPersister(Class<DATA> clazz, File cacheFolder)
           
 
Methods inherited from class com.octo.android.robospice.persistence.file.InFileObjectPersisterFactory
createObjectPersister, getCacheFolder, getCachePrefix, getKeySanitizer, removeAllDataFromCache, setCacheFolder, setCachePrefix, setKeySanitizer
 
Methods inherited from class com.octo.android.robospice.persistence.ObjectPersisterFactory
canHandleClass, getApplication, getListHandledClasses, isAsyncSaveEnabled, setAsyncSaveEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSerializerObjectPersisterFactory

public SimpleSerializerObjectPersisterFactory(android.app.Application application,
                                              File cacheFolder)
                                       throws CacheCreationException
Throws:
CacheCreationException

SimpleSerializerObjectPersisterFactory

public SimpleSerializerObjectPersisterFactory(android.app.Application application,
                                              List<Class<?>> listHandledClasses,
                                              File cacheFolder)
                                       throws CacheCreationException
Throws:
CacheCreationException

SimpleSerializerObjectPersisterFactory

public SimpleSerializerObjectPersisterFactory(android.app.Application application,
                                              List<Class<?>> listHandledClasses)
                                       throws CacheCreationException
Throws:
CacheCreationException

SimpleSerializerObjectPersisterFactory

public SimpleSerializerObjectPersisterFactory(android.app.Application application)
                                       throws CacheCreationException
Throws:
CacheCreationException
Method Detail

createInFileObjectPersister

public <DATA> InFileObjectPersister<DATA> createInFileObjectPersister(Class<DATA> clazz,
                                                                      File cacheFolder)
                                                        throws CacheCreationException
Specified by:
createInFileObjectPersister in class InFileObjectPersisterFactory
Throws:
CacheCreationException


Copyright © 2012-2014. All Rights Reserved.