|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.tools.sib.translator.SIBEnzymeLogger
public class SIBEnzymeLogger
This class is used to log translation activities during the parse process.
| Field Summary | |
|---|---|
static int |
COMMENTS
|
static int |
COMMON_NAMES
|
static int |
OTHER_NAMES
|
static int |
REACTIONS
|
| Constructor Summary | |
|---|---|
SIBEnzymeLogger(String dir,
int type,
boolean enzymeLogFormat)
Enables a logger which stores all results in one file. |
|
SIBEnzymeLogger(String dir,
String ec)
Initialises the log file of the given EC. |
|
| Method Summary | |
|---|---|
void |
add(String before,
String after,
String ec)
Adds information to the log file. |
void |
addOtherNameLog(String nameNotMatching,
String set,
String ec)
|
void |
close()
Must be called to close the log file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMMON_NAMES
public static final int REACTIONS
public static final int OTHER_NAMES
public static final int COMMENTS
| Constructor Detail |
|---|
public SIBEnzymeLogger(String dir,
String ec)
ec - Used for the file name.
public SIBEnzymeLogger(String dir,
int type,
boolean enzymeLogFormat)
dir - Directory of the log file.type - Type of comparison (see static fields).enzymeLogFormat - | Method Detail |
|---|
public void add(String before,
String after,
String ec)
before - Not translated string.after - Translated string.ec - The EC number.
public void addOtherNameLog(String nameNotMatching,
String set,
String ec)
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||