public class ThreadLocalMessageFormat extends Object
Constructor and Description |
---|
ThreadLocalMessageFormat(String pattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
format(Object... obj)
Formats an object to produce a string.
|
public ThreadLocalMessageFormat(String pattern)
pattern
- format pattern see MessageFormat
for details.public String format(Object... obj)
Format.format(Object)
for details.obj
- the object to format.Copyright © 2016–2023. All rights reserved.