uk.ac.ebi.intenz.tools.sib.comparator
Class FlatFileComparator
java.lang.Object
uk.ac.ebi.intenz.tools.sib.comparator.FlatFileComparator
public class FlatFileComparator
- extends Object
This class compares two ENZYME.dat flat file formats.
- Version:
- $Revision: 1.2 $ $Date: 2008/01/28 11:43:23 $
- Author:
- Michael Darsow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatFileComparator
public FlatFileComparator()
compare
public static void compare(File flatFile1,
File flatFile2)
compareEntries
public static String compareEntries(String entryA,
String entryB)
throws EnzymeEntryValidationException
- Compares two entries by checking their data line by line.
- Parameters:
entryA
- The first entry...entryB
- ...and the second one.
- Returns:
- the differences (if any)
- Throws:
EnzymeEntryValidationException
- if an enzyme does not comply to the ENZYME format.
Copyright © 2013 EMBL-EBI. All Rights Reserved.