public class CC_LineFormatter extends DefaultLineFormatter
CC
line.
The CC
line contains of sentences which are introduced by -!-
. In some
cases not all sentences are preceeded by this string, especially when it comes to ordered lists. These lists also
have to be indented as shown in the example below.
Example:
LINEWIDTH
Constructor and Description |
---|
CC_LineFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
formatLines(String text,
LineType lineType)
Formats the
CC lines according to the format described in the class description. |
List<String> |
getCommentSentences(String commentText)
Breaks the comment text into individual sentences.
|
public String formatLines(String text, LineType lineType) throws EnzymeFlatFileWriteException
CC
lines according to the format described in the class description.formatLines
in interface LineFormatter
formatLines
in class DefaultLineFormatter
text
- The text of the CC
line(s).lineType
- Must always be LineType.CC
.CC
line(s).EnzymeFlatFileWriteException
- if an error occured during this process.NullPointerException
- if any of the parameters is null
.IllegalArgumentException
- if lineType
is not LineType.CC
.Copyright © 2014 EMBL-EBI. All rights reserved.