Changeset 2862


Ignore:
Timestamp:
06/13/07 11:58:34 (13 years ago)
Author:
melissa
Message:

Set the length of HTTP streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/RandomAccessStream.java

    r2857 r2862  
    188188    else if (file.startsWith("http")) { 
    189189      raf = new RAUrl(Location.getMappedId(file), "r"); 
     190      length = raf.length();  
    190191    } 
    191192    else throw new IOException("File not found : " + file); 
     
    691692    else { 
    692693      raf = new RAUrl(Location.getMappedId(file), "r"); 
     694      length = raf.length();  
    693695    } 
    694696    fileCache.put(this, Boolean.TRUE); 
Note: See TracChangeset for help on using the changeset viewer.