public class GSpreadConfig extends Config
Modifier and Type | Field and Description |
---|---|
static String |
BASE_REGISTRY_AUTH_TOKEN_PATH |
static String |
BASE_WORKSHEET_URL |
Constructor and Description |
---|
GSpreadConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ODataDataHandler |
createODataHandler() |
static String |
extractKey(String documentURL) |
URL |
generateWorksheetFeedURL() |
<F extends com.google.gdata.data.IFeed> |
getFeed(URL feedUrl,
Class<F> feedClass) |
String |
getKey() |
boolean |
isActive() |
boolean |
isResultSetFieldsCaseSensitive() |
getConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toString
public static final String BASE_WORKSHEET_URL
public static final String BASE_REGISTRY_AUTH_TOKEN_PATH
public GSpreadConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFault
public static String extractKey(String documentURL) throws DataServiceFault
DataServiceFault
public URL generateWorksheetFeedURL() throws MalformedURLException
MalformedURLException
public String getKey()
public <F extends com.google.gdata.data.IFeed> F getFeed(URL feedUrl, Class<F> feedClass) throws Exception
Exception
public ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler
in class Config
ODataServiceFault
public boolean isResultSetFieldsCaseSensitive()
isResultSetFieldsCaseSensitive
in class Config
Copyright © 2019 WSO2. All rights reserved.