Package uk.ac.ebi.intenz.tools.sib.writer

This package contains classes for writing the enzyme.dat flat file.

See: Description

Package uk.ac.ebi.intenz.tools.sib.writer Description

This package contains classes for writing the 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.