Java org.apache.wicket.util.string Strings fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.util.string Strings fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.util.string Strings.

The text is from its open source code.

Method

StringafterFirst(final String s, final char c)
Returns everything after the first occurrence of the given character in s.
StringafterLast(final String s, final char c)
Returns everything after the last occurrence of the given character in s.
StringbeforeFirst(final String s, final char c)
Returns everything before the first occurrence of the given character in s.
StringbeforeLast(final String s, final char c)
Returns everything before the last occurrence of the given character in s.
StringbeforeLastPathComponent(final String path, final char separator)
Gets everything before the last path component of a path using a given separator.
Stringcapitalize(final String s)
Capitalizes a string.
StringdefaultIfEmpty(String originalString, String defaultValue)
Returns the original string if this one is not empty (i.e.
CharSequenceescapeMarkup(final CharSequence s)
Converts a Java String to an HTML markup string, but does not convert normal spaces to non-breaking space entities (<nbsp>).
CharSequenceescapeMarkup(final CharSequence s, final boolean escapeSpaces, final boolean convertToHtmlUnicodeEscapes)
Converts a Java String to an HTML markup String by replacing illegal characters with HTML entities where appropriate.
CharSequenceescapeMarkup(final CharSequence s, final boolean escapeSpaces)
Converts a Java String to an HTML markup String by replacing illegal characters with HTML entities where appropriate.
intindexOf(final CharSequence sequence, final char ch)
returns the zero-based index of a character within a char sequence.
booleanisEmpty(final CharSequence string)
Checks whether the string is considered empty.
booleanisEqual(final String string1, final String string2)
Checks whether two strings are equals taken care of 'null' values and treating 'null' same as trim(string).equals("")
booleanisTrue(final String s)
Converts the text in s to a corresponding boolean.
Stringjoin(final String separator, final List fragments)
Joins string fragments using the specified separator
Stringjoin(final String separator, final String... fragments)
Joins string fragments using the specified separator
StringlastPathComponent(final String path, final char separator)
Gets the last path component of a path using a given separator.
CharSequencereplaceAll(final CharSequence s, final CharSequence searchFor, CharSequence replaceWith)
Replace all occurrences of one string replaceWith another string.
String[]split(final String s, final char c)
Simpler, faster version of String.split() for splitting on a simple character.
StringstripJSessionId(final String url)
Strip any jsessionid and possibly other redundant info that might be in our way.
BooleantoBoolean(final String s)
Converts the string s to a Boolean.
StringtoEscapedUnicode(final String unicodeString)
Converts unicodes to encoded \uxxxx.
CharSequencetoMultilineMarkup(final CharSequence s)
Converts a String to multiline HTML markup by replacing newlines with line break entities (<br/>) and multiple occurrences of newline with paragraph break entities (<p>).
StringtoString(final Object object)
Converts the given object to a string.
StringtoString(final Throwable throwable)
Converts a Throwable to a string.