Changeset 1886


Ignore:
Timestamp:
12/01/06 09:31:38 (14 years ago)
Author:
melissa
Message:

Added support for reading MDB files associated with LSM files. Will probably need to change how MDB data is stored in the metadata hashtable.

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/ZeissLSMReader.java

    r1843 r1886  
    2626 
    2727import java.awt.image.BufferedImage; 
     28import java.io.File; 
    2829import java.io.IOException; 
    2930import java.util.Hashtable; 
     
    656657    } 
    657658    catch (Exception e) { } 
     659   
     660    // see if we have an associated MDB file 
     661 
     662    File dir =  
     663      new File(getMappedId(currentId)).getAbsoluteFile().getParentFile(); 
     664    String[] dirList = dir.list(); 
     665 
     666    for (int i=0; i<dirList.length; i++) { 
     667      if (dirList[i].toLowerCase().endsWith(".mdb")) { 
     668        try { 
     669          MDBParser.parseDatabase(dirList[i], metadata); 
     670        } 
     671        catch (FormatException f) { } 
     672        i = dirList.length; 
     673      } 
     674    } 
     675   
    658676  } 
    659677 
  • trunk/loci/formats/todo.txt

    r1845 r1886  
    33 
    44Codecs: 
    5 * Zeiss LSM - MDB metadata (lowish) 
    65* QuickTime - svq3 codec (low) 
    76* AVI - msrle codec (very low) 
Note: See TracChangeset for help on using the changeset viewer.