public class StringInternerImpl extends java.lang.Object implements StringInterner
| Constructor and Description |
|---|
StringInternerImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.String format,
java.lang.Object... arguments)
Formats a string (using
String.format(String, Object[])) and returns the interned result. |
java.lang.String |
intern(java.lang.String string)
Interns a string.
|
void |
setupInvalidation(InvalidationEventHub hub) |
public StringInternerImpl()
@PostConstruct public void setupInvalidation(@ComponentClasses InvalidationEventHub hub)
public java.lang.String intern(java.lang.String string)
StringInternerintern in interface StringInternerstring - the string to internpublic java.lang.String format(java.lang.String format, java.lang.Object... arguments)
StringInternerString.format(String, Object[])) and returns the interned result.format in interface StringInternerformat - string formatarguments - used inside the format${project.version} - Copyright © 2003-2015 The Apache Software Foundation.