public class DefaultLineFormatter extends Object implements LineFormatter
CC line, which is an extension of this class.LINEWIDTH| Constructor and Description |
|---|
DefaultLineFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
formatLines(String text,
LineType lineType)
Formats the text by adding the line headers and wrapping the content using
LineWrapper
implementations. |
public String formatLines(String text, LineType lineType) throws EnzymeFlatFileWriteException
LineWrapper
implementations.formatLines in interface LineFormattertext - The text to be formatted.lineType - The line type .EnzymeFlatFileWriteException - if an error occured during the formatting process.NullPointerException - if any of the parameters is null.Copyright © 2014 EMBL-EBI. All rights reserved.