Package gov.nara.nwts.ftappImg

Source Code of gov.nara.nwts.ftappImg.ImageFileAnalyzer

package gov.nara.nwts.ftappImg;

import java.io.File;

import gov.nara.nwts.ftapp.filetest.ActionRegistry;
import gov.nara.nwts.ftapp.gui.DirectoryTable;
import gov.nara.nwts.ftapp.importer.ImporterRegistry;
import gov.nara.nwts.ftappImg.filetest.ImageActionRegistry;
/**
* Driver for the File Analyzer GUI loading image-specific rules but not NARA specific rules.
* @author TBrady
*
*/
public class ImageFileAnalyzer extends DirectoryTable {

  public ImageFileAnalyzer(File f, boolean modifyAllowed) {
    super(f, modifyAllowed);
  }
 
  protected ActionRegistry getActionRegistry() {
    return new ImageActionRegistry(this, modifyAllowed);
  }

  protected ImporterRegistry getImporterRegistry() {
    return new ImporterRegistry(this);
  }
  public static void main(String[] args) {
    if (args.length > 0)
      new ImageFileAnalyzer(new File(args[0]), false);   
    else
      new ImageFileAnalyzer(null, false);   
  }

}
TOP

Related Classes of gov.nara.nwts.ftappImg.ImageFileAnalyzer

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.