Changeset 2998


Ignore:
Timestamp:
07/19/07 15:13:37 (13 years ago)
Author:
melissa
Message:

Added "boolean isMetadataComplete()" to IFormatReader API.

Location:
trunk/loci/formats
Files:
5 edited

Legend:

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

    r2976 r2998  
    486486  public int fileGroupOption(String id) throws FormatException, IOException { 
    487487    return readers[0].fileGroupOption(id); 
     488  } 
     489 
     490  /* @see IFormatReader#isMetadataComplete() */ 
     491  public boolean isMetadataComplete() { 
     492    return readers[0].isMetadataComplete(); 
    488493  } 
    489494 
  • trunk/loci/formats/FormatReader.java

    r2976 r2998  
    5858  /** Core metadata values. */ 
    5959  protected CoreMetadata core; 
     60 
     61  /** Whether or not the metadata is completely parsed. */ 
     62  protected boolean complete = false; 
    6063 
    6164  /** Whether or not to normalize float data. */ 
     
    308311  } 
    309312 
    310   /* @see IFormatReader.isOrderCertain() */ 
     313  /* @see IFormatReader#isOrderCertain() */ 
    311314  public boolean isOrderCertain() { 
    312315    FormatTools.assertId(currentId, true, 1); 
     
    397400  { 
    398401    return FormatTools.CANNOT_GROUP; 
     402  } 
     403 
     404  /* @see IFormatReader#isMetadataComplete() */ 
     405  public boolean isMetadataComplete() { 
     406    return complete; 
    399407  } 
    400408 
  • trunk/loci/formats/IFormatReader.java

    r2976 r2998  
    210210  boolean isGroupFiles(); 
    211211 
     212  /** Returns true if this format's metadata is completely parsed. */ 
     213  boolean isMetadataComplete(); 
     214 
    212215  /** 
    213216   * Returns an int indicating that we cannot, must, or might group the files 
  • trunk/loci/formats/ImageReader.java

    r2976 r2998  
    400400  } 
    401401 
     402  /* @see IFormatReader#isMetadataComplete() */ 
     403  public boolean isMetadataComplete() { 
     404    return readers[0].isMetadataComplete(); 
     405  } 
     406 
    402407  /* @see IFormatReader#setNormalized(boolean) */ 
    403408  public void setNormalized(boolean normalize) { 
  • trunk/loci/formats/ReaderWrapper.java

    r2976 r2998  
    206206  } 
    207207 
     208  public boolean isMetadataComplete() { 
     209    return reader.isMetadataComplete(); 
     210  } 
     211 
    208212  public void setNormalized(boolean normalize) { 
    209213    reader.setNormalized(normalize); 
Note: See TracChangeset for help on using the changeset viewer.