com.octo.android.robospice.persistence.googlehttpclient.json
Class GsonObjectPersisterFactory

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.googlehttpclient.json.JsonObjectPersisterFactory
              extended by com.octo.android.robospice.persistence.googlehttpclient.json.GsonObjectPersisterFactory
All Implemented Interfaces:
CacheCleaner, Persister

public class GsonObjectPersisterFactory
extends JsonObjectPersisterFactory

Allows to serialize objects using the google http java client gson module.

Author:
sni

Constructor Summary
GsonObjectPersisterFactory(android.app.Application application)
           
GsonObjectPersisterFactory(android.app.Application application, File cacheFolder)
           
GsonObjectPersisterFactory(android.app.Application application, List<Class<?>> listHandledClasses)
           
GsonObjectPersisterFactory(android.app.Application application, List<Class<?>> listHandledClasses, File cacheFolder)
           
 
Method Summary
 
Methods inherited from class com.octo.android.robospice.persistence.googlehttpclient.json.JsonObjectPersisterFactory
createInFileObjectPersister
 
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

GsonObjectPersisterFactory

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

GsonObjectPersisterFactory

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

GsonObjectPersisterFactory

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

GsonObjectPersisterFactory

public GsonObjectPersisterFactory(android.app.Application application)
                           throws CacheCreationException
Throws:
CacheCreationException


Copyright © 2012-2014. All Rights Reserved.