enzyme.dat
flat file.See: Description
Interface | Description |
---|---|
LineFormatter |
This interface provides a method to format lines according to the rules of the
enzyme.dat file. |
LineWrapper |
Defines a method to retrieve the next line wrapping position.
|
Class | Description |
---|---|
CC_LineFormatter |
Handles the special needs regarding the format of the
CC line. |
DefaultLineFormatter |
Provides a default implementation which can be applied to all line types.
|
EnzymeFlatFileWriter |
This utility class provides methods for exporting enzyme data into the ENZYME flat file format.
|
LineType |
Represents an enumeration of all ENZYME line types.
|
LineWrapperFactory |
This class provides a factory method to retrieve the adequate
LineWrapper implementation. |
Exception | Description |
---|---|
EnzymeFlatFileWriteException |
This exception is thrown whenever an error occurs during the creation of the ENZYME flat file.
|
enzyme.dat
flat file.
The flat file writer is comprised of classes responsible for proper formatting of the individual line types and classes defining rules for line wrapping. Two interfaces are provided which can be implemented to provide additional classes for formatting or wrapping.
The formatting classes take care that the lines will get the expected format in the end. At the moment two classes
exist whereas the DefaultLineFormatter
defines the format of all line types.
The CC line is a special case and handled by the CC_LineFormatter
.
Finally the line wrapping classes can be retrieved using the LineWrapperFactory
. This factory contains
some nested classes which cover different line wrapping scenarios which are usually not connected to any specific
line type, hence the distinction of these two components.
Copyright © 2014 EMBL-EBI. All rights reserved.