|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LineWrapper
Defines a method to retrieve the next line wrapping position.
Unfortunately the line wrapping "rules" applied manually are sometimes following the sole rule: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)
| Method Summary | |
|---|---|
int |
findPosition(String text,
int netLineWidth)
Returns the next position in the line where the wrapping should be performed. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||