public class Text extends Object
| Constructor and Description | 
|---|
| Text() | 
| Modifier and Type | Method and Description | 
|---|---|
| static InternationalString | text(String english)Create a international string based on the provided English text. | 
| static InternationalString | text(String key,
    Map<String,String> translations) | 
| static InternationalString | text(String key,
    Properties properties) | 
| static InternationalString | text(String key,
    String resourceBundle)Create an international string based on provided key, and resource bundle. | 
public static InternationalString text(String english)
We will hook up this method to a properties file at a later time, making other translations available via the Factory SPI mechanism.
english - public static InternationalString text(String key, String resourceBundle)
key - The key for the resource to fetchresources - The name of the resource bundle, as a fully qualified class name.public static InternationalString text(String key, Map<String,String> translations)
public static InternationalString text(String key, Properties properties)
Copyright © 1996–2019 Geotools. All rights reserved.