Changeset 2161


Ignore:
Timestamp:
01/25/07 10:46:02 (13 years ago)
Author:
curtis
Message:

Tweak documentation.

File:
1 edited

Legend:

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

    r2129 r2161  
    3636public class Location { 
    3737 
     38  // -- Static fields -- 
     39 
     40  /** Map from given filenames to actual filenames. */ 
     41  private static Hashtable idMap = new Hashtable(); 
     42 
    3843  // -- Fields -- 
    3944 
     
    4348  private File file; 
    4449 
    45   /** Map from given filenames to actual filenames. */ 
    46   private static Hashtable idMap = new Hashtable(); 
    47  
    4850  // -- Constructors -- 
    4951 
     
    7274  } 
    7375 
    74   // -- File API methods -- 
    75  
    76   /**  
     76  // -- Location API methods -- 
     77 
     78  /** 
    7779   * Maps the given id to the actual filename on disk. Typically actual 
    7880   * filenames are used for ids, making this step unnecessary, but in some 
     
    108110  public static Hashtable getIdMap() { return idMap; } 
    109111 
    110   public static void setIdMap(Hashtable map) {  
    111     if (map != null) idMap = map;  
     112  public static void setIdMap(Hashtable map) { 
     113    if (map != null) idMap = map; 
    112114    else idMap = new Hashtable(); 
    113115  } 
     116 
     117  // -- File API methods -- 
    114118 
    115119  /* @see java.io.File#canRead() */ 
Note: See TracChangeset for help on using the changeset viewer.