public static class Strings.StringToAppend
extends java.lang.Object
String
to the given target, only if the target does not end with the given
String
to append.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
toAppend |
Constructor and Description |
---|
StringToAppend(java.lang.String toAppend) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
to(java.lang.String s)
Appends the
String specified in the constructor to the String passed as argument. |