|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringInterner
Creates "interned" strings that are unique for the same content. This is used for common description strings,
particularly those used by Binding
instances. The internal cache of interned strings id
cleared whenever the ComponentClasses
InvalidationEventHub
is invalidated (i.e., when component class files change).
Method Summary | |
---|---|
String |
format(String format,
Object... arguments)
Formats a string (using String.format(String, Object[]) ) and returns the interned result. |
String |
intern(String string)
Interns a string. |
Method Detail |
---|
String intern(String string)
string
- the string to intern
String format(String format, Object... arguments)
String.format(String, Object[])
) and returns the interned result.
format
- string formatarguments
- used inside the format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |