public interface StringInterner
Binding
instances. The internal cache of interned strings id
cleared whenever the ComponentClasses
InvalidationEventHub
is invalidated (i.e., when component class files change).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.
|
java.lang.String intern(java.lang.String string)
string
- the string to internjava.lang.String format(java.lang.String format, java.lang.Object... arguments)
String.format(String, Object[])
) and returns the interned result.format
- string formatarguments
- used inside the format${project.version} - Copyright © 2003-2015 The Apache Software Foundation.