Changeset 5984


Ignore:
Timestamp:
03/02/10 16:18:33 (10 years ago)
Author:
melissa
Message:

Added Seiko reader and cleaned up SM Camera reader a bit. See #412.

Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/components/bio-formats/src/loci/formats/in/SMCameraReader.java

    r5983 r5984  
    7070    final int blockLen = 16; 
    7171    if (!FormatTools.validStream(stream, blockLen, false)) return false; 
    72     /* debug */ System.out.println("calling isThisType"); 
    7372    byte[] magic = new byte[blockLen]; 
    7473    stream.read(magic); 
     
    9291  } 
    9392 
    94   /* @see loci.formats.IFormatReader#close(boolean) */ 
    95   public void close(boolean fileOnly) throws IOException { 
    96     super.close(fileOnly); 
    97     if (!fileOnly) { 
    98     } 
    99   } 
    100  
    10193  // -- Internal FormatReader API methods -- 
    10294 
    10395  /* @see loci.formats.FormatReader#initFile(String) */ 
    10496  protected void initFile(String id) throws FormatException, IOException { 
    105     debug("SMCameraReader.initFile(" + id + ")"); 
    10697    super.initFile(id); 
    10798    in = new RandomAccessInputStream(id); 
  • branches/cleanup/components/bio-formats/src/loci/formats/readers.txt

    r5983 r5984  
    7474loci.formats.in.HISReader             # his 
    7575loci.formats.in.WATOPReader           # wat 
     76loci.formats.in.SeikoReader           # xqd, xqf 
    7677loci.formats.in.FakeReader            # fake 
    7778 
  • trunk/components/bio-formats/src/loci/formats/in/SMCameraReader.java

    r5983 r5984  
    7070    final int blockLen = 16; 
    7171    if (!FormatTools.validStream(stream, blockLen, false)) return false; 
    72     /* debug */ System.out.println("calling isThisType"); 
    7372    byte[] magic = new byte[blockLen]; 
    7473    stream.read(magic); 
     
    9089    readPlane(in, x, y, w, h, buf); 
    9190    return buf; 
    92   } 
    93  
    94   /* @see loci.formats.IFormatReader#close(boolean) */ 
    95   public void close(boolean fileOnly) throws IOException { 
    96     super.close(fileOnly); 
    97     if (!fileOnly) { 
    98     } 
    9991  } 
    10092 
  • trunk/components/bio-formats/src/loci/formats/readers.txt

    r5983 r5984  
    7474loci.formats.in.HISReader             # his 
    7575loci.formats.in.WATOPReader           # wat 
     76loci.formats.in.SeikoReader           # xqd, xqf 
    7677loci.formats.in.FakeReader            # fake 
    7778 
Note: See TracChangeset for help on using the changeset viewer.