Changeset 1805


Ignore:
Timestamp:
11/16/06 16:06:24 (13 years ago)
Author:
curtis
Message:

Add getSuffix method for getting string after all numerical blocks.

File:
1 edited

Legend:

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

    r1787 r1805  
    258258    } 
    259259    return s <= e ? pattern.substring(s, e) : ""; 
     260  } 
     261 
     262  /** Gets the pattern's text string after all numerical ranges. */ 
     263  public String getSuffix() { 
     264    return pattern.substring(endIndex.length > 0 ? endIndex[0] : 0); 
    260265  } 
    261266 
Note: See TracChangeset for help on using the changeset viewer.