|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.prowidesoftware.swift.io.writer.MultilineUtil
public class MultilineUtil
Helper class to deal with swift fields that allow many lines of text
Constructor Summary | |
---|---|
MultilineUtil()
|
Method Summary | |
---|---|
java.lang.String[] |
removeInnerEmptyLines(java.lang.String[] lines)
Same as removeInnerEmptyLines(lines, false) |
java.lang.String[] |
removeInnerEmptyLines(java.lang.String[] lines,
boolean keepAll)
Helper method to remove empty lines on a multiline field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultilineUtil()
Method Detail |
---|
public java.lang.String[] removeInnerEmptyLines(java.lang.String[] lines)
removeInnerEmptyLines(lines, false)
lines
-
removeInnerEmptyLines(String[], boolean)
public java.lang.String[] removeInnerEmptyLines(java.lang.String[] lines, boolean keepAll)
lines
- an non null array of lines to processkeepAll
- if true
this method will have the effect of sorting empty lines to the end, if false
, empty lines will be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |