Package com.wolfram.alpha.net
Class URLFetcher
java.lang.Object
com.wolfram.alpha.net.URLFetcher
-
Constructor Summary
ConstructorDescriptionURLFetcher(URL url, String outFile, HttpProvider http, ProxySettings proxySettings)
-
Method Summary
-
Constructor Details
-
URLFetcher
-
-
Method Details
-
cancel
public void cancel() -
wasCancelled
public boolean wasCancelled() -
isFinished
public boolean isFinished()Doesn't mean that it finished successfully; could have been cancelled.- Returns:
-
getFilename
-
getFile
-
getBytes
public byte[] getBytes() -
getTotalBytes
public int getTotalBytes()- Returns:
- -1 if not known
-
getTotalBytesDownloaded
public int getTotalBytesDownloaded() -
getProgress
public double getProgress() -
getCharSet
-
getException
-
fetch
public void fetch()
-