public class LineWrapperFactory extends Object
LineWrapper implementation.| Constructor and Description |
|---|
LineWrapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
static LineWrapper |
create(String wholeText,
LineType lineType)
Returns a
LineWrapper implementation which will be chosen according to the needs of the text to be
wrapped. |
public static LineWrapper create(String wholeText, LineType lineType)
LineWrapper implementation which will be chosen according to the needs of the text to be
wrapped.wholeText - The text to be wrapped.lineType - The LineTypeLineWrapper implementation.NullPointerException - if any of the parameters is null.Copyright © 2014 EMBL-EBI. All rights reserved.