Search:

Type: Posts; User: angstrem

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    3,815

    [SOLVED] Re: Downloading files efficiently

    Thank you! Now I understand.
  2. Replies
    8
    Views
    3,815

    [SOLVED] Re: Downloading files efficiently

    So when we invoke a method read() to get just a single byte from a BufferedInputStream, one of 2 things happens:
    1) if the internal buffer is empty, read 8kb (or the default buffer size) from the...
  3. Replies
    8
    Views
    3,815

    [SOLVED] Re: Downloading files efficiently

    So BufferedInputStreams are only needed when we don't read into an array? If we read to an array, then there's no use of buffered streams?
    I've looped the ImageIO part, because the documentation...
  4. Replies
    8
    Views
    3,815

    [SOLVED] Re: Downloading files efficiently

    public static void main(String[] args) throws Exception {
    URL imageUrl = new URL("https://si0.twimg.com/profile_images/3453931082/64673e967c9a34e24ded46fd7124d37d.jpeg");

    ...
  5. Replies
    8
    Views
    3,815

    [SOLVED] Downloading files efficiently

    I'm working on an application, who's task is to download and display pictures. I'm planning to track the progress of download and display it. Hence, I've written the following code:


    //...
Results 1 to 5 of 5