com.octo.android.robospice.persistence.springandroid.xml.SimpleSerializerObjectPersisterFactory Maven / Gradle / Ivy
package com.octo.android.robospice.persistence.springandroid.xml;
import java.io.File;
import java.util.List;
import android.app.Application;
import com.octo.android.robospice.persistence.exception.CacheCreationException;
import com.octo.android.robospice.persistence.file.InFileObjectPersister;
import com.octo.android.robospice.persistence.file.InFileObjectPersisterFactory;
public class SimpleSerializerObjectPersisterFactory extends InFileObjectPersisterFactory {
// ----------------------------------
// CONSTRUCTOR
// ----------------------------------
public SimpleSerializerObjectPersisterFactory(Application application, File cacheFolder)
throws CacheCreationException {
super(application, cacheFolder);
}
public SimpleSerializerObjectPersisterFactory(Application application, List> listHandledClasses,
File cacheFolder) throws CacheCreationException {
super(application, listHandledClasses, cacheFolder);
}
public SimpleSerializerObjectPersisterFactory(Application application, List> listHandledClasses)
throws CacheCreationException {
super(application, listHandledClasses);
}
public SimpleSerializerObjectPersisterFactory(Application application) throws CacheCreationException {
super(application);
}
// ----------------------------------
// API
// ----------------------------------
@Override
public InFileObjectPersister createInFileObjectPersister(Class clazz, File cacheFolder)
throws CacheCreationException {
return new SimpleSerializerObjectPersister(getApplication(), clazz, cacheFolder);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy