Package com.wolfram.alpha
Class WAEngine
java.lang.Object
com.wolfram.alpha.impl.WAQueryParametersImpl
com.wolfram.alpha.WAEngine
- All Implemented Interfaces:
WAQueryParameters
,Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.wolfram.alpha.impl.WAQueryParametersImpl
allowReinterpret, allowTranslation, assumptions, async, countryCode, currency, excludePodIDs, extraParams, formats, formatTimeout, includePodIDs, includeRelatedLinks, input, ip, latitude, location, longitude, magnification, maxWidth, metric, plotWidth, podIndices, podScanners, podStates, podTimeout, podTitles, scanTimeout, signature, width
-
Constructor Summary
ConstructorDescriptionWAEngine()
WAEngine(HttpProvider http, File downloadDir)
WAEngine(WAQueryParameters params, HttpProvider http, File downloadDir)
WAEngine(String appid, HttpProvider http, File downloadDir)
WAEngine(String appid, String server, HttpProvider http)
-
Method Summary
Modifier and TypeMethodDescriptioncreateQuery(String input)
createQueryFromURL(String url)
getAppID()
performQuery(WAQuery query)
performRecalculate(String recalcURL)
void
Methods inherited from class com.wolfram.alpha.impl.WAQueryParametersImpl
addAssumption, addExcludePodID, addFormat, addIncludePodID, addPodIndex, addPodScanner, addPodState, addPodState, addPodState, addPodTitle, clearAssumptions, clearExcludePodIDs, clearIncludePodIDs, clearPodIndexes, clearPodScanners, clearPodStates, clearPodTitles, fillFromURL, getAssumptions, getAsync, getCountryCode, getCurrency, getExcludePodIDs, getExtraParams, getFormats, getFormatTimeout, getIncludePodIDs, getInput, getIP, getLatLong, getLocation, getMagnification, getMaxWidth, getParameters, getPlotWidth, getPodIndexes, getPodScanners, getPodStates, getPodTimeout, getPodTitles, getScanTimeout, getWidth, isAllowTranslation, isMetric, isReinterpret, isRelatedLinks, setAllowTranslation, setAsync, setCountryCode, setCurrency, setFormatTimeout, setInput, setIP, setLatitude, setLatLong, setLocation, setLongitude, setMagnification, setMaxWidth, setMetric, setPlotWidth, setPodTimeout, setReinterpret, setRelatedLinks, setScanTimeout, setSignature, setWidth, toWebsiteURL
-
Constructor Details
-
WAEngine
public WAEngine() -
WAEngine
-
WAEngine
-
WAEngine
-
WAEngine
-
WAEngine
-
WAEngine
-
-
Method Details
-
getAppID
-
setAppID
-
createQuery
-
createQuery
-
createQueryFromURL
-
performQuery
- Throws:
WAException
-
performRecalculate
- Throws:
WAException
-
toURL
-
getHttpProvider
-
getDownloadDir
-