Changeset 3474


Ignore:
Timestamp:
12/12/07 14:19:53 (12 years ago)
Author:
curtis
Message:

Move TiffComment utility into command line tools suite as "tiffcomment."

Location:
trunk
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/tools/TiffComment.java

    r3296 r3474  
    33// 
    44 
     5/* 
     6LOCI Bio-Formats package for reading and converting biological file formats. 
     7Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan, 
     8Eric Kjellman and Brian Loranger. 
     9 
     10This program is free software; you can redistribute it and/or modify 
     11it under the terms of the GNU Library General Public License as published by 
     12the Free Software Foundation; either version 2 of the License, or 
     13(at your option) any later version. 
     14 
     15This program is distributed in the hope that it will be useful, 
     16but WITHOUT ANY WARRANTY; without even the implied warranty of 
     17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     18GNU Library General Public License for more details. 
     19 
     20You should have received a copy of the GNU Library General Public License 
     21along with this program; if not, write to the Free Software 
     22Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     23*/ 
     24 
     25package loci.formats.tools; 
     26 
     27import java.io.IOException; 
     28import loci.formats.FormatException; 
    529import loci.formats.TiffTools; 
    630 
    7 /** Extracts the comment from the first IFD of the given TIFF file(s). */ 
     31/** 
     32 * Extracts the comment from the first IFD of the given TIFF file(s). 
     33 * 
     34 * <dl><dt><b>Source code:</b></dt> 
     35 * <dd><a href="https://skyking.microscopy.wisc.edu/trac/java/browser/trunk/loci/formats/tools/TiffComment.java">Trac</a>, 
     36 * <a href="https://skyking.microscopy.wisc.edu/svn/java/trunk/loci/formats/tools/TiffComment.java">SVN</a></dd></dl> 
     37 */ 
    838public class TiffComment { 
    939 
    10   public static void main(String[] args) throws Exception { 
     40  public static void main(String[] args) throws FormatException, IOException { 
    1141    if (args.length == 0) { 
    12       System.out.println("Usage: java TiffComment file1 file2 ..."); 
     42      System.out.println("Usage: tiffcomment file1 [file2 ...]"); 
    1343      return; 
    1444    } 
Note: See TracChangeset for help on using the changeset viewer.