org.fest.util
Class Strings.StringToAppend
java.lang.Object
org.fest.util.Strings.StringToAppend
- Enclosing class:
- Strings
public static class Strings.StringToAppend
- extends Object
Understands how to append a given String
to the given target, only if the target does not end with the
given String
to append.
Method Summary |
String |
to(String s)
Appends the String specified in the constructor to the String passed as argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
to
public String to(String s)
- Appends the
String
specified in the constructor to the String
passed as argument.
- Parameters:
s
- the target String
.
- Returns:
- a
String
containing the target String
with the given String
to append added to the end.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.