public interface LineWrapper
if (looks nice) then wrap();The line wrapping rules are defined in the following PDF file:
• enzyme_LW_rules.pdf (preliminary version, i.e. not approved by Amos)| Modifier and Type | Method and Description |
|---|---|
int |
findPosition(String text,
int netLineWidth)
Returns the next position in the line where the wrapping should be performed.
|
int findPosition(String text, int netLineWidth) throws EnzymeFlatFileWriteException
LineFormatter implementation within
a loop as long as the text does not fit into one line.text - The text to be wrapped.netLineWidth - Net line width (w/o line header in the begining).EnzymeFlatFileWriteException - if an error occured during this process.Copyright © 2014 EMBL-EBI. All rights reserved.