Class StringInternerImpl
java.lang.Object
org.apache.tapestry5.commons.internal.services.StringInternerImpl
- All Implemented Interfaces:
StringInterner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFormats a string (usingString.format(String, Object[])) and returns the interned result.Interns a string.void
-
Constructor Details
-
StringInternerImpl
public StringInternerImpl()
-
-
Method Details
-
setupInvalidation
-
intern
Description copied from interface:StringInternerInterns a string.- Specified by:
internin interfaceStringInterner- Parameters:
string- the string to intern- Returns:
- the input string, or another string instance with the same content
-
format
Description copied from interface:StringInternerFormats a string (usingString.format(String, Object[])) and returns the interned result.- Specified by:
formatin interfaceStringInterner- Parameters:
format- string formatarguments- used inside the format- Returns:
- formatted and interned string
-