Class URLFetcher

java.lang.Object
com.wolfram.alpha.net.URLFetcher

public class URLFetcher extends Object
  • Constructor Details

  • 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

      public String getFilename()
    • getFile

      public File getFile()
    • getBytes

      public byte[] getBytes()
    • getTotalBytes

      public int getTotalBytes()
      Returns:
      -1 if not known
    • getTotalBytesDownloaded

      public int getTotalBytesDownloaded()
    • getProgress

      public double getProgress()
    • getCharSet

      public String getCharSet()
    • getException

      public Exception getException()
    • fetch

      public void fetch()