com.citrix.sharefile.api.AbstractSFApiQueryFactory Maven / Gradle / Ivy
package com.citrix.sharefile.api;
import com.citrix.sharefile.api.interfaces.ISFApiClient;
import java.io.InputStream;
/**
* Created by tarungo on 1/28/2016.
*/
class AbstractSFApiQueryFactory {
public static AbstractSFApiQuery getAbstractSFApiQuery(Class clazz, ISFApiClient apiClient)
{
AbstractSFApiQuery newQuery = null;
if(InputStream.class.isAssignableFrom(clazz) )
{
newQuery = new SFQueryStream(apiClient);
}
else
{
newQuery = new SFApiQuery(apiClient);
}
return newQuery;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy