Changeset 3137


Ignore:
Timestamp:
09/05/07 17:32:56 (13 years ago)
Author:
curtis
Message:

Migrate complex command line tools into their own package,
to provide a place for more such tools in the future.

Location:
trunk/loci/formats
Files:
4 added
1 deleted
2 edited

Legend:

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

    r3131 r3137  
    2828import java.io.IOException; 
    2929import java.util.*; 
     30import loci.formats.tools.ImageInfo; 
    3031 
    3132/** 
     
    562563  // -- Main method -- 
    563564 
     565  /** 
     566   * @deprecated Replaced by 
     567   *   {@link loci.formats.tools.ImageInfo#main(String[])} 
     568   */ 
    564569  public static void main(String[] args) throws FormatException, IOException { 
    565     if (!ConsoleTools.testRead(new ImageReader(), args)) System.exit(1); 
     570    ImageInfo.main(args); 
    566571  } 
    567572 
  • trunk/loci/formats/ImageWriter.java

    r3108 r3137  
    2929import java.io.IOException; 
    3030import java.util.*; 
     31import loci.formats.tools.ImageConverter; 
    3132 
    3233/** 
     
    348349  // -- Main method -- 
    349350 
     351  /** 
     352   * @deprecated Replaced by 
     353   *   {@link loci.formats.tools.ImageConverter#main(String[])} 
     354   */ 
    350355  public static void main(String[] args) throws FormatException, IOException { 
    351     if (!ConsoleTools.testConvert(new ImageWriter(), args)) System.exit(1); 
     356    ImageConverter.main(args); 
    352357  } 
    353358 
Note: See TracChangeset for help on using the changeset viewer.