com.octo.android.robospice.persistence.retrofit
Class RetrofitObjectPersisterFactory
java.lang.Object
com.octo.android.robospice.persistence.ObjectPersisterFactory
com.octo.android.robospice.persistence.file.InFileObjectPersisterFactory
com.octo.android.robospice.persistence.retrofit.RetrofitObjectPersisterFactory
- All Implemented Interfaces:
- CacheCleaner, Persister
- Direct Known Subclasses:
- GsonRetrofitObjectPersisterFactory, JacksonRetrofitObjectPersisterFactory
public class RetrofitObjectPersisterFactory
- extends InFileObjectPersisterFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetrofitObjectPersisterFactory
public RetrofitObjectPersisterFactory(android.app.Application application,
retrofit.converter.Converter converter,
File cacheFolder)
throws CacheCreationException
- Throws:
CacheCreationException
RetrofitObjectPersisterFactory
public RetrofitObjectPersisterFactory(android.app.Application application,
retrofit.converter.Converter converter,
List<Class<?>> listHandledClasses,
File cacheFolder)
throws CacheCreationException
- Throws:
CacheCreationException
RetrofitObjectPersisterFactory
public RetrofitObjectPersisterFactory(android.app.Application application,
retrofit.converter.Converter converter)
throws CacheCreationException
- Throws:
CacheCreationException
RetrofitObjectPersisterFactory
public RetrofitObjectPersisterFactory(android.app.Application application,
retrofit.converter.Converter converter,
List<Class<?>> listHandledClasses)
throws CacheCreationException
- Throws:
CacheCreationException
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.