public final class LocalizedString extends Object
| Constructor and Description |
|---|
LocalizedString(String contents)
Create a
LocalizedString with pre-translated contents. |
public LocalizedString(String contents)
LocalizedString with pre-translated contents. This
constructor is public for testing purposes, production code should use
Translate#localize(? extends Enum) instead.contents - The pre-translated contents for the new LocalizedStringpublic String getContents()
Copyright © 2013. All Rights Reserved.